Index: tools/js2c.py |
diff --git a/tools/js2c.py b/tools/js2c.py |
index d91513311429a87b3fe5731d82feac6ddecfb493..dd7becd5fd4a1ae58e7c8b9c9844b45af74ce8b7 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)) |