From ec9ab0ba6d0e28fc63f9ff28135ec9911ffa882b Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 10 Jun 2015 11:57:33 +0200 Subject: Prefixed all tokens with T_ to prevent collisions with macros. Identifier names like "IN" and "AS" have a high probability of being defined by certain platforms as macros, esp. with Visual Studio. Change-Id: I1fbc0ae33f94387b83377181b6012683a418459a Reviewed-by: Simon Hausmann --- src/xmlpatterns/expr/qexpressionfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmlpatterns/expr') diff --git a/src/xmlpatterns/expr/qexpressionfactory.cpp b/src/xmlpatterns/expr/qexpressionfactory.cpp index 2afa2cc..4b8fc5f 100644 --- a/src/xmlpatterns/expr/qexpressionfactory.cpp +++ b/src/xmlpatterns/expr/qexpressionfactory.cpp @@ -140,7 +140,7 @@ Expression::Ptr ExpressionFactory::createExpression(const Tokenizer::Ptr &tokeni effectiveTokenizer->setParserContext(info); - const int bisonRetval = XPathparse(info.data()); + const int bisonRetval = QPatternist::XPathparse(info.data()); Q_ASSERT_X(bisonRetval == 0, Q_FUNC_INFO, "We shouldn't be able to get an error, because we throw exceptions."); -- cgit v1.2.1