mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 07:28:31 +00:00
* src/reduce.c (inaccessable_symbols): Fix a buglet: because of a
lacking `+ 1' to nrules, Bison reported as useless a token if it was used solely to set the precedence of the last rule...
This commit is contained in:
1 parent
26b23c1a49
commit
11652ab3dc
3 files changed
+18
-1
No files matched your search
@@ -3,6 +3,16 @@ Bison News
|
||||
|
||||
Changes in version 1.49a:
|
||||
|
||||
* False `Token not used' report fixed.
|
||||
On a grammar such as
|
||||
|
||||
%token useless useful
|
||||
%%
|
||||
exp: '0' %prec useful;
|
||||
|
||||
where a token was used to set the precedence of the last rule,
|
||||
bison reported both `useful' and `useless' as useless tokens.
|
||||
|
||||
* Revert the C++ namespace changes introduced in 1.31, as they caused too
|
||||
many portability hassles.
|
||||
|
||||
|
||||
Reference in new issue
Block a user