mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
parser: deprecate %nterm
It has several weaknesses. Reported by Rici Lake. http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00000.html * src/scan-gram.l: here.
This commit is contained in:
@@ -344,7 +344,7 @@ AT_TEST([%destructor syncline],
|
||||
%union {
|
||||
int ival;
|
||||
}
|
||||
%nterm <ival> exp
|
||||
%type <ival> exp
|
||||
%%
|
||||
exp: '0' { $$ = 0; };
|
||||
%%
|
||||
@@ -369,7 +369,7 @@ AT_TEST([%printer syncline],
|
||||
%union {
|
||||
int ival;
|
||||
}
|
||||
%nterm <ival> exp
|
||||
%type <ival> exp
|
||||
%%
|
||||
exp: '0' { $$ = 0; };
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user