WmlIterator: better handling for macro calls...

...where the name of the macro includes a macro parameter.
This commit is contained in:
Patrick Parker 2008-11-02 05:56:26 +00:00
parent c75b5b3d20
commit 56033ea2e6

View file

@ -24,7 +24,7 @@ import sys, re, copy
keyPattern = re.compile('(\w+)(,\s?\w+)*\s*=')
keySplit = re.compile(r'[=,\s]')
tagPattern = re.compile(r'(^|(?<![\w\|\}]))(\[.*?\])')
macroOpenPattern = re.compile(r'(\{[^\s\}]*)')
macroOpenPattern = re.compile(r'(\{[^\s\}\{]*)')
macroClosePattern = re.compile(r'\}')
silenceErrors = {}