summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/parser/qparsercontext_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-09-09 19:02:16 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-09-17 14:10:59 +0200
commita642de35374912b2a579b9fecca8876fe4a1f114 (patch)
tree56a49621023e747c0fcdfd8a047ef2dc57cc2e2a /src/xmlpatterns/parser/qparsercontext_p.h
parent1a368dd724d97ba25ab360441c75654f0dcf9195 (diff)
Run createParser.sh to update the query transform parser
We are curious to know whether to keep the ypp file around, so wish to review what changes when we use it. Various things with YY* names have now changed to have XPATH* names, so renamed them systematically in the non-generated code. Change-Id: Ia5fad9bc5845a8707430d59aaf6ac6dadf17b5bd Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/xmlpatterns/parser/qparsercontext_p.h')
-rw-r--r--src/xmlpatterns/parser/qparsercontext_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmlpatterns/parser/qparsercontext_p.h b/src/xmlpatterns/parser/qparsercontext_p.h
index 22371f74..c6e359ef 100644
--- a/src/xmlpatterns/parser/qparsercontext_p.h
+++ b/src/xmlpatterns/parser/qparsercontext_p.h
@@ -215,9 +215,10 @@ namespace QPatternist
QVector<qint16> parserStack_yyss;
QVector<TokenValue> parserStack_yyvs;
- QVector<YYLTYPE> parserStack_yyls;
+ QVector<XPATHLTYPE> parserStack_yyls;
- void handleStackOverflow(const char*, short **yyss, size_t, TokenValue **yyvs, size_t, YYLTYPE **yyls, size_t, size_t *yystacksize);
+ void handleStackOverflow(const char*, short **yyss, size_t, TokenValue **yyvs, size_t,
+ XPATHLTYPE **yyls, size_t, size_t *yystacksize);
inline VariableSlotID currentPositionSlot() const
{