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 preprocessor.cpp


From: ott
Subject: [Wesnoth-cvs-commits] wesnoth/src/serialization preprocessor.cpp
Date: Sat, 14 May 2005 08:14:41 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <address@hidden>    05/05/14 12:14:41

Modified files:
        src/serialization: preprocessor.cpp 

Log message:
        prevent 80000 log lines with the same error, suggested by silene

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

Patches:
Index: wesnoth/src/serialization/preprocessor.cpp
diff -u wesnoth/src/serialization/preprocessor.cpp:1.17 
wesnoth/src/serialization/preprocessor.cpp:1.18
--- wesnoth/src/serialization/preprocessor.cpp:1.17     Sat May 14 10:09:48 2005
+++ wesnoth/src/serialization/preprocessor.cpp  Sat May 14 12:14:41 2005
@@ -1,4 +1,4 @@
-/* $Id: preprocessor.cpp,v 1.17 2005/05/14 10:09:48 silene Exp $ */
+/* $Id: preprocessor.cpp,v 1.18 2005/05/14 12:14:41 ott Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Copyright (C) 2005 by Guillaume Melquiond <address@hidden>
@@ -359,6 +359,7 @@
                error << s << " not terminated, started at "
                      << token.linenum << ' ' << target_.location_;
                ERR_CF << error.str() << '\n';
+               pop_token();
                throw config::error(error.str());
        }
 




reply via email to

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