[Kst] kdeextragear-2/kst/tests
George Staikos
staikos at kde.org
Fri Apr 29 02:05:54 CEST 2005
CVS commit by staikos:
adapt to new bison version
M +1 -1 testeqparser.cpp 1.30
--- kdeextragear-2/kst/tests/testeqparser.cpp #1.29:1.30
@@ -124,5 +124,5 @@ void testParseFail(const char *equation)
rc--;
} else {
- if (Equation::errorStack.count() == 1 && Equation::errorStack.first() == "parse error") {
+ if (Equation::errorStack.count() == 1 && (Equation::errorStack.first() == "parse error" || Equation::errorStack.first() == "syntax error")) {
printf("ERROR: [%s] doesn't have error handling yet!\n", equation);
rc--;
More information about the Kst
mailing list