diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-06-10 11:57:33 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-06-10 12:47:12 +0000 |
commit | ec9ab0ba6d0e28fc63f9ff28135ec9911ffa882b (patch) | |
tree | 922d4119ff2e535ac313bbbfcfca33b744524e77 /src/xmlpatterns/expr | |
parent | 8d5f3bd730486b3fd3d5b1782fa70b80108c0ba4 (diff) | |
download | qtxmlpatterns-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.cpp | 2 |
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."); |