Author: shadowmaster
Date: Wed Mar 23 04:26:58 2011
New Revision: 48985
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48985&view=rev
Log:
wmlindent: Update for #ifver, #ifnver
Modified:
trunk/data/tools/wmlindent
Modified: trunk/data/tools/wmlindent
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmlindent?rev=48985&r1=48984&r2=48985&view=diff
==============================================================================
--- trunk/data/tools/wmlindent (original)
+++ trunk/data/tools/wmlindent Wed Mar 23 04:26:58 2011
@@ -69,7 +69,7 @@
def is_directive(str):
"Identify things that shouldn't be indented."
- for prefix in ("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#else",
"#endif", "#define", "#enddef", "#undef"):
+ for prefix in ("#ifdef", "#ifndef", "#ifhave", "#ifnhave", "#ifver",
"#ifnver", "#else", "#endif", "#define", "#enddef", "#undef"):
if str.startswith(prefix):
return True
return False
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits