mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
Don't invoke unput from scan-gram.l; it ran into a POSIX-compatibility
bug in flex 2.5.31.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
2003-04-17 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
* src/scan-gram.l: Add %option nounput, since we no longer use unput.
|
||||
(unexpected_eof): Renamed from unexpected_end_of_file, for brevity.
|
||||
Do not insert the expected token via unput, as this runs afoul
|
||||
of a POSIX-compatibility bug in flex 2.5.31.
|
||||
All uses changed to BEGIN the parent state,
|
||||
since we no longer insert the expected token via unput.
|
||||
* tests/regression.at (Invalid inputs): Remove cascaded diagnostic
|
||||
that is no longer emitted after the above change.
|
||||
|
||||
* src/conflicts.c (set_conflicts): Resolve all conflicts, not just
|
||||
the first one. This change is from Paul Hilfinger, and it fixes
|
||||
regression reported by Werner Lemberg in
|
||||
|
||||
Reference in New Issue
Block a user