diff options
Diffstat (limited to 'src/tools/ivigenerator/templates_frontend/global.h.tpl')
-rw-r--r-- | src/tools/ivigenerator/templates_frontend/global.h.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ivigenerator/templates_frontend/global.h.tpl b/src/tools/ivigenerator/templates_frontend/global.h.tpl index a98c1ae..e12ea36 100644 --- a/src/tools/ivigenerator/templates_frontend/global.h.tpl +++ b/src/tools/ivigenerator/templates_frontend/global.h.tpl @@ -36,7 +36,7 @@ # # SPDX-License-Identifier: LGPL-3.0 #} -{% set exportsymbol = '{0}'.format(module.module_name|upper) %} +{% set exportsymbol = '{0}'.format(module|upper|replace('.', '_')) %} {% set oncedefine = '{0}GLOBAL_H_'.format(exportsymbol) %} {% include 'generated_comment.cpp.tpl' %} |