Commit 0481a68a authored by tsniatowski@opera.com's avatar tsniatowski@opera.com

Use %pure-parser in grammar files to make Bison 3 happy.

This avoids a "deprecated directive, use ‘%pure-parser’ [-Wdeprecated]"
warning in css/CSSGrammar.y and xml/XPathGrammar.y when building with
Bison 3.

Review URL: https://codereview.chromium.org/217423011

git-svn-id: svn://svn.chromium.org/blink/trunk@170525 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f94c41e4
...@@ -60,7 +60,7 @@ using namespace HTMLNames; ...@@ -60,7 +60,7 @@ using namespace HTMLNames;
%} %}
%pure_parser %pure-parser
%parse-param { BisonCSSParser* parser } %parse-param { BisonCSSParser* parser }
%lex-param { BisonCSSParser* parser } %lex-param { BisonCSSParser* parser }
......
...@@ -51,7 +51,7 @@ using namespace XPath; ...@@ -51,7 +51,7 @@ using namespace XPath;
%} %}
%pure_parser %pure-parser
%parse-param { WebCore::XPath::Parser* parser } %parse-param { WebCore::XPath::Parser* parser }
%union %union
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment