doc: fix distcheck

The extracted example, simple.yy, does not use %require "3.2", so it
generates a stack.hh, which breaks distcheck.

* doc/bison.texi: Fix it.
This commit is contained in:
Akim Demaille
2018-10-27 08:53:30 +02:00
parent 1664d1c5ed
commit c45f86d286
2 changed files with 4 additions and 1 deletions

3
TODO
View File

@@ -224,6 +224,9 @@ YYERROR_VERBOSE?" by Simon Sobisch, on bison-help.
This is a popular demand. We already made many changes in the parser that
should make this reasonably easy to implement.
Bruce Mardle <marblypup@yahoo.co.uk>
https://lists.gnu.org/archive/html/bison-patches/2015-09/msg00000.html
** Push parsers
There is demand for push parsers in Java and C++. And GLR I guess.

View File

@@ -10637,7 +10637,7 @@ generate C++.
@comment file: c++/simple.yy: 1
@example
%require "@value{VERSION}"
%require "3.2"
%language "c++"
@end example