mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
* src/nullable.c (set_nullable): Useless rules must be skipped,
otherwise, since we range over their symbols, we might look at a nonterminal which no longer ``exists'', i.e., it is not counted in `nvars', hence we overflow our arrays.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-12-15 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/nullable.c (set_nullable): Useless rules must be skipped,
|
||||
otherwise, since we range over their symbols, we might look at a
|
||||
nonterminal which no longer ``exists'', i.e., it is not counted in
|
||||
`nvars', hence we overflow our arrays.
|
||||
|
||||
2001-12-15 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/reader.c (copy_action): When --yacc, don't append a `;'
|
||||
|
||||
Reference in New Issue
Block a user