Index: tools/js2c.py |
diff --git a/tools/js2c.py b/tools/js2c.py |
index 4725d6bc06420b7a5450e5fc7649759df916bddf..dd7becd5fd4a1ae58e7c8b9c9844b45af74ce8b7 100755 |
--- a/tools/js2c.py |
+++ b/tools/js2c.py |
@@ -242,7 +242,7 @@ def ExpandInlineMacros(lines): |
lines = ExpandMacroDefinition(lines, pos, name_pattern, macro, non_expander) |
-INLINE_CONSTANT_PATTERN = re.compile(r'define\s+([a-zA-Z0-9_]+)\s*=\s*([^;\n]+)[;\n]') |
+INLINE_CONSTANT_PATTERN = re.compile(r'define\s+([a-zA-Z0-9_]+)\s*=\s*([^;\n]+);\n') |
def ExpandInlineConstants(lines): |
pos = 0 |