summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-12-31 08:20:23 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-12-31 08:21:25 +0100
commit83f2eb3737b8037c79796dcb1648818d50897fc8 (patch)
treeb97397ebc36df91eace847cf579e4b8c9be8b12e /examples
parent3911aba39afa33c1ec30d8d22205da3a4bfdf7f3 (diff)
downloadbison-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.yy1
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