Author: esr
Date: Thu Feb 11 15:29:08 2010
New Revision: 41156

URL: http://svn.gna.org/viewcvs/wesnoth?rev=41156&view=rev
Log:
Deduce types for more macro formals.  No conflicts in mainline.

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

Modified: trunk/data/tools/wesnoth/wmltools.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/wmltools.py?rev=41156&r1=41155&r2=41156&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/wmltools.py (original)
+++ trunk/data/tools/wesnoth/wmltools.py Thu Feb 11 15:29:08 2010
@@ -157,7 +157,7 @@
         ftype = "alignment"
     elif f in ("TERRAIN",):
         ftype = "terrain_code"
-    elif f in ("NAME", "VAR", "IMAGESTEM", "ID") or f.endswith("_NAME"):
+    elif f in ("NAME", "VAR", "IMAGESTEM", "ID", "FLAG") or 
f.endswith("_NAME") or f.endswith("_ID"):
         ftype = "name"
     elif f in ("ID_STRING", "NAME_STRING", "DESCRIPTION"):
         ftype = "optional_string"


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

Reply via email to