Author: esr
Date: Thu Feb 11 16:36:15 2010
New Revision: 41158
URL: http://svn.gna.org/viewcvs/wesnoth?rev=41158&view=rev
Log:
wmllint/wmlscope cleanup. BNo conflicts in mainline.
Modified:
trunk/data/campaigns/Legend_of_Wesmere/scenarios/03_Kalian.cfg
trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg
trunk/data/tools/wesnoth/wmltools.py
Modified: trunk/data/campaigns/Legend_of_Wesmere/scenarios/03_Kalian.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Legend_of_Wesmere/scenarios/03_Kalian.cfg?rev=41158&r1=41157&r2=41158&view=diff
==============================================================================
--- trunk/data/campaigns/Legend_of_Wesmere/scenarios/03_Kalian.cfg (original)
+++ trunk/data/campaigns/Legend_of_Wesmere/scenarios/03_Kalian.cfg Thu Feb 11
16:36:15 2010
@@ -1030,4 +1030,4 @@
[/scenario]
#else
[/multiplayer]
-#endif
+#endif
Modified:
trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg?rev=41158&r1=41157&r2=41158&view=diff
==============================================================================
--- trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg
(original)
+++ trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg
Thu Feb 11 16:36:15 2010
@@ -530,4 +530,4 @@
[/scenario]
#else
[/multiplayer]
-#endif
+#endif
Modified: trunk/data/tools/wesnoth/wmltools.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/wmltools.py?rev=41158&r1=41157&r2=41158&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/wmltools.py (original)
+++ trunk/data/tools/wesnoth/wmltools.py Thu Feb 11 16:36:15 2010
@@ -145,7 +145,7 @@
# Deduce the expected type of the formal
if f.startswith("_"):
f = f[1:]
- if f in ("SIDE", "X", "Y", "RED", "GREEN", "BLUE", "TURN", "RADIUS",
"PROB") or f.endswith("NUMBER") or f.endswith("AMOUNT") or f.endswith("COST")
or f.endswith("_X") or f.endswith("_Y") or f.endswith("_INCREMENT") or
f.endswith("_FACTOR"):
+ if f in ("SIDE", "X", "Y", "RED", "GREEN", "BLUE", "TURN", "RADIUS",
"PROB", "LAYER") or f.endswith("NUMBER") or f.endswith("AMOUNT") or
f.endswith("COST") or f.endswith("_X") or f.endswith("_Y") or
f.endswith("_INCREMENT") or f.endswith("_FACTOR"):
ftype = "numeric"
elif f in ("POSITION",):
ftype = "position"
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits