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.
This commit is contained in:
Akim Demaille
2020-12-31 08:20:23 +01:00
parent 3911aba39a
commit 83f2eb3737
3 changed files with 3 additions and 2 deletions

View File

@@ -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