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:
Akim Demaille
2018-10-15 19:22:40 +02:00
parent 01898726e2
commit c69944ff8b
2 changed files with 4 additions and 4 deletions

4
NEWS
View File

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

View File

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