Author: sapient
Date: Sun Nov  2 06:56:26 2008
New Revision: 30521

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30521&view=rev
Log:
WmlIterator: better handling for macro calls where the name of the macro 
includes a macro parameter.

Modified:
    trunk/data/tools/wesnoth/wmliterator.py

Modified: trunk/data/tools/wesnoth/wmliterator.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/wmliterator.py?rev=30521&r1=30520&r2=30521&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/wmliterator.py (original)
+++ trunk/data/tools/wesnoth/wmliterator.py Sun Nov  2 06:56:26 2008
@@ -24,7 +24,7 @@
 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 = {}


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to