Index: tools/js2c.py |
diff --git a/tools/js2c.py b/tools/js2c.py |
index c97a2fcc1c0bf262d03816d2bfeecb1aed98354a..4725d6bc06420b7a5450e5fc7649759df916bddf 100755 |
--- a/tools/js2c.py |
+++ b/tools/js2c.py |
@@ -348,8 +348,8 @@ |
if macro_filename: |
(consts, macros) = ReadMacros(ReadFile(macro_filename)) |
+ filter_chain.append(lambda l: ExpandConstants(l, consts)) |
filter_chain.append(lambda l: ExpandMacros(l, macros)) |
- filter_chain.append(lambda l: ExpandConstants(l, consts)) |
if message_template_file: |
message_templates = ReadMessageTemplates(ReadFile(message_template_file)) |