wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src/serialization tokenizer.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src/serialization tokenizer.cpp
Date: Tue, 12 Jul 2005 16:03:19 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/07/12 20:03:19

Modified files:
        src/serialization: tokenizer.cpp 

Log message:
        Fix tokenizer not ignoring newlines at the end of inlined preprocessor 
directives when textdomains are used in the middle of concatenated WML strings.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/serialization/tokenizer.cpp.diff?tr1=1.11&tr2=1.12&r1=text&r2=text

Patches:
Index: wesnoth/src/serialization/tokenizer.cpp
diff -u wesnoth/src/serialization/tokenizer.cpp:1.11 
wesnoth/src/serialization/tokenizer.cpp:1.12
--- wesnoth/src/serialization/tokenizer.cpp:1.11        Sat Jun  4 19:16:06 2005
+++ wesnoth/src/serialization/tokenizer.cpp     Tue Jul 12 20:03:18 2005
@@ -1,4 +1,4 @@
-/* $Id: tokenizer.cpp,v 1.11 2005/06/04 19:16:06 ott Exp $ */
+/* $Id: tokenizer.cpp,v 1.12 2005/07/12 20:03:18 silene Exp $ */
 /*
    Copyright (C) 2004 by Philippe Plantier <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -93,6 +93,7 @@
                                next_char();
                        if (current_ == 254) {
                                skip_comment();
+                               --lineno_;
                                continue;
                        }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]