From: Paul Eggert Date: Fri, 18 Apr 2003 07:27:15 +0000 (+0000) Subject: Don't invoke unput from scan-gram.l; it ran into a POSIX-compatibility X-Git-Tag: BISON-2_0~334 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/1b8f2fff2a99c6d931382c0624709f86c133482f?ds=sidebyside Don't invoke unput from scan-gram.l; it ran into a POSIX-compatibility bug in flex 2.5.31. --- diff --git a/ChangeLog b/ChangeLog index e5bb37aa..998b724e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2003-04-17 Paul Eggert + * 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