mail[Wesnoth-commits] r20114 - /trunk/data/tools/wmllint


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on September 05, 2007 - 07:50:
Author: esr
Date: Wed Sep  5 07:50:07 2007
New Revision: 20114

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20114&view=rev
Log:
Remove some erroneously committed code.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=20114&r1=20113&r2=20114&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Wed Sep  5 07:50:07 2007
@@ -445,10 +445,6 @@
             # There's only one kind of underground keep at present.
             inmap[y][x] = inmap[y][x].replace("Ku", "Kud")
 
-name_in_attack = False
-
-# These hooks are not presently used.
-
 def validate_stack(stack, filename, lineno):
     "Check the stack for deprecated WML syntax."
     if verbose >= 3:
@@ -469,11 +465,6 @@
     # to deserialize an empty unit.
     if closer == "side" and "type" not in attributes and ("no_leader" not in 
attributes or attributes["no_leader"] != "yes") and "multiplayer" not in 
ancestors:
         print '"%s", line %d: [side] without type attribute' % (filename, 
lineno)
-    if context(*suspicious_outermosts)
-    if "radius" in attributes:
-        logical = context("and", "or", "not")
-        if suspicious_outermost and logical:
-            print '"%s", line %d: order of radius predicate evaluation 
changed in 1.3.7' % (filename, lineno)
 
 # Syntax transformations
 




Related Messages


Powered by MHonArc, Updated Wed Sep 05 08:20:22 2007