CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
    Copyright (C) 2005 by Guillaume Melquiond <[EMAIL PROTECTED]>
@@ -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