mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
doc: do not advertise %nterm
Reported by Rici Lake. http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00000.html * NEWS, doc/bison.texi: here.
This commit is contained in:
4
NEWS
4
NEWS
@@ -26,8 +26,8 @@ GNU Bison NEWS
|
||||
%%
|
||||
|
||||
%token <int> INT "int";
|
||||
%nterm <std::unique_ptr<int>> int;
|
||||
%nterm <std::vector<std::unique_ptr<int>>> list;
|
||||
%type <std::unique_ptr<int>> int;
|
||||
%type <std::vector<std::unique_ptr<int>>> list;
|
||||
|
||||
list:
|
||||
%empty {}
|
||||
|
||||
@@ -9198,11 +9198,11 @@ The following grammar file, @file{calc.y}, will be used in the sequel:
|
||||
@end group
|
||||
@group
|
||||
%token <ival> NUM
|
||||
%nterm <ival> exp
|
||||
%type <ival> exp
|
||||
@end group
|
||||
@group
|
||||
%token <sval> STR
|
||||
%nterm <sval> useless
|
||||
%type <sval> useless
|
||||
@end group
|
||||
@group
|
||||
%left '+' '-'
|
||||
|
||||
Reference in New Issue
Block a user