mail[Wesnoth-commits] r29103 - /trunk/data/tools/wmlindent


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

Header


Content

Posted by esr on August 30, 2008 - 09:34:
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:




Related Messages


Powered by MHonArc, Updated Sat Aug 30 10:00:59 2008