diff options
-rw-r--r-- | dsextras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dsextras.py b/dsextras.py index 1557448..1c6d790 100644 --- a/dsextras.py +++ b/dsextras.py @@ -317,7 +317,7 @@ class Template: return for item in self.register: - dp = DefsParser(item) + dp = DefsParser(item,dict(GLOBAL_MACROS)) dp.startParsing() register_types(dp) @@ -325,7 +325,7 @@ class Template: globals = {} execfile(self.load_types, globals) - dp = DefsParser(self.defs) + dp = DefsParser(self.defs,dict(GLOBAL_MACROS)) dp.startParsing() register_types(dp) |