From 1b8f2fff2a99c6d931382c0624709f86c133482f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 18 Apr 2003 07:27:15 +0000 Subject: [PATCH] Don't invoke unput from scan-gram.l; it ran into a POSIX-compatibility bug in flex 2.5.31. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index e5bb37a..998b724 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 -- 2.7.4