Author: esr
Date: Sat Aug 30 09:34:57 2008
New Revision: 29103

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29103&view=rev
Log:
Preevent wmlindent from being confused by Shadowmaster's terminal
frowney.  (Yes, this is a real description of a real bug...)

Modified:
    trunk/data/tools/wmlindent

Modified: trunk/data/tools/wmlindent
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmlindent?rev=29103&r1=29102&r2=29103&view=diff
==============================================================================
--- trunk/data/tools/wmlindent (original)
+++ trunk/data/tools/wmlindent Sat Aug 30 09:34:57 2008
@@ -95,7 +95,7 @@
     elif (str.startswith("[") and not closer(str) and not "[/" in str):
         return True
     # Trailing ( opens a scope to be closed by ).
-    elif str.endswith("(\n"):
+    elif str.endswith("(\n") and '#' not in str:
         return True
     else:
         for prefix in opener_prefixes:


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

Reply via email to