diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-12-31 08:20:23 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-12-31 08:21:25 +0100 |
commit | 83f2eb3737b8037c79796dcb1648818d50897fc8 (patch) | |
tree | b97397ebc36df91eace847cf579e4b8c9be8b12e /examples | |
parent | 3911aba39afa33c1ec30d8d22205da3a4bfdf7f3 (diff) | |
download | bison-83f2eb3737b8037c79796dcb1648818d50897fc8.tar.gz |
glr2.cc: the example requires Bison 3.8
This will save us from generating the position.hh file.
* src/parse-gram.y: Claim we are 3.8.
* examples/c++/glr/c++-types.yy: Require 3.8.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c++/glr/c++-types.yy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/c++/glr/c++-types.yy b/examples/c++/glr/c++-types.yy index 20020723..c5fcf620 100644 --- a/examples/c++/glr/c++-types.yy +++ b/examples/c++/glr/c++-types.yy @@ -18,6 +18,7 @@ /* Simplified C++ Type and Expression Grammar. Written by Paul Hilfinger for Bison's test suite. */ +%require "3.8" %glr-parser %skeleton "glr2.cc" %define parse.assert |