diff options
Diffstat (limited to 'kexi/kexidb/parser')
-rw-r--r-- | kexi/kexidb/parser/parser_p.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/parser/parser_p.cpp b/kexi/kexidb/parser/parser_p.cpp index 38a7d386..1d2e5295 100644 --- a/kexi/kexidb/parser/parser_p.cpp +++ b/kexi/kexidb/parser/parser_p.cpp @@ -84,11 +84,11 @@ void yyerror(const char *str) KexiDBDbg << "at character " << current << " near tooken " << ctoken << endl; parser->setOperation(Parser::OP_Error); - const bool otherError = (qstrnicmp(str, "other error", 11)==0); + const bool otherError = (tqstrnicmp(str, "other error", 11)==0); if (parser->error().type().isEmpty() && (str==0 || strlen(str)==0 - || qstrnicmp(str, "syntax error", 12)==0 || qstrnicmp(str, "parse error", 11)==0) + || tqstrnicmp(str, "syntax error", 12)==0 || tqstrnicmp(str, "parse error", 11)==0) || otherError) { KexiDBDbg << parser->statement() << endl; |