Author: ai0867
Date: Mon Nov 14 05:46:00 2011
New Revision: 51968

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51968&view=rev
Log:
Do not parse the #enddef in a string + #enddef line twice

Modified:
    trunk/utils/wmlxgettext

Modified: trunk/utils/wmlxgettext
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/wmlxgettext?rev=51968&r1=51967&r2=51968&view=diff
==============================================================================
--- trunk/utils/wmlxgettext (original)
+++ trunk/utils/wmlxgettext Mon Nov 14 05:46:00 2011
@@ -47,7 +47,7 @@
     if (m/\#define/) {
       unshift @domainstack, $domainstack[0];
       next LINE;
-    } elsif (m/\#enddef/) {
+    } elsif (m/^\s*\#enddef/) {
       shift @domainstack;
     }
 


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

Reply via email to