wmllint/wmlscope cleanup. BNo conflicts in mainline.
This commit is contained in:
parent
8992dccdbd
commit
3c9a0d3a9d
3 changed files with 3 additions and 3 deletions
|
@ -1030,4 +1030,4 @@
|
|||
[/scenario]
|
||||
#else
|
||||
[/multiplayer]
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -530,4 +530,4 @@
|
|||
[/scenario]
|
||||
#else
|
||||
[/multiplayer]
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -145,7 +145,7 @@ def formaltype(f):
|
|||
# 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"
|
||||
|
|
Loading…
Add table
Reference in a new issue