summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/expr
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-06-10 11:57:33 +0200
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-06-10 12:47:12 +0000
commitec9ab0ba6d0e28fc63f9ff28135ec9911ffa882b (patch)
tree922d4119ff2e535ac313bbbfcfca33b744524e77 /src/xmlpatterns/expr
parent8d5f3bd730486b3fd3d5b1782fa70b80108c0ba4 (diff)
downloadqtxmlpatterns-ec9ab0ba6d0e28fc63f9ff28135ec9911ffa882b.tar.gz
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 <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/xmlpatterns/expr')
-rw-r--r--src/xmlpatterns/expr/qexpressionfactory.cpp2
1 files changed, 1 insertions, 1 deletions
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.");