Author: esr
Date: Tue Sep  2 17:56:21 2008
New Revision: 29197

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29197&view=rev
Log:
Another try at fixing AI0867's bug.

Modified:
    trunk/data/tools/wmllint

Modified: trunk/data/tools/wmllint
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=29197&r1=29196&r2=29197&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Tue Sep  2 17:56:21 2008
@@ -783,10 +783,8 @@
             refname = line[line.find("{"):line.rfind("}")]            
             # Ignore all-caps macro arguments.
             if refname == refname.upper():
-                print \
-                      '"%s", line %d: warning, correctness of %s cannot be 
checked' \
-                      % (filename, lineno+1, refname)
-            elif 'mask=' in line and not refname.endswith(".mask"):
+                pass
+            elif 'mask=' in line and not (refname.endwith("}") or 
refname.endswith(".mask")):
                 print \
                       '"%s", line %d: fatal error, mask file without .mask 
extension (%s)' \
                       % (filename, lineno+1, refname)


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

Reply via email to