summaryrefslogtreecommitdiff
path: root/src/xmlpatterns
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-09-09 18:55:55 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-09-16 15:02:04 +0000
commit1a368dd724d97ba25ab360441c75654f0dcf9195 (patch)
treea5773a74df539d5cea809d6f27a33e5350eb75cf /src/xmlpatterns
parent81571cc1dfba8de2b790e332ebdc3004f2c84da9 (diff)
downloadqtxmlpatterns-1a368dd724d97ba25ab360441c75654f0dcf9195.tar.gz
Fix three warnings from bison
We were using directives that are now deprecated. Replaved them with the modern equivalents bison suggested when run. These changes *do* change the output. Change-Id: I18064e60c86d1782490ab5896ab9233593198caf Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r--src/xmlpatterns/parser/querytransformparser.ypp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlpatterns/parser/querytransformparser.ypp b/src/xmlpatterns/parser/querytransformparser.ypp
index 3a26b0d..658d4b2 100644
--- a/src/xmlpatterns/parser/querytransformparser.ypp
+++ b/src/xmlpatterns/parser/querytransformparser.ypp
@@ -1107,16 +1107,16 @@ static Expression::Ptr createReturnOrderBy(const OrderSpecTransfer::List &orderS
* specified below. This '%require' directive was introduced in Bison 2.2. */
%require "2.3a"
-%name-prefix="XPath"
+%define api.prefix {XPath}
/* Specifies the name of the generated parser. */
-%output="qquerytransformparser.cpp"
+%output "qquerytransformparser.cpp"
/* Output the .output file. */
%verbose
/* Yes, we want descriptive error messages. */
-%error-verbose
+%define parse.error verbose
/* We'd like to be reentrant/thread-safe */
%pure-parser