aboutsummaryrefslogtreecommitdiff
path: root/scripts/cgenerator.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cgenerator.py')
-rw-r--r--scripts/cgenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cgenerator.py b/scripts/cgenerator.py
index 732a6d2d..298a7742 100644
--- a/scripts/cgenerator.py
+++ b/scripts/cgenerator.py
@@ -268,7 +268,7 @@ class COutputGenerator(OutputGenerator):
OutputGenerator.genGroup(self, groupinfo, groupName)
groupElem = groupinfo.elem
- expandName = re.sub(r'([0-9a-z_])([A-Z0-9][^A-Z0-9]?)',r'\1_\2',groupName).upper()
+ expandName = re.sub(r'([0-9a-z_])([A-Z0-9])',r'\1_\2',groupName).upper()
expandPrefix = expandName
expandSuffix = ''