From: Paul Eggert Date: Fri, 24 May 2002 12:38:52 +0000 (+0000) Subject: Document the recent error-recovery fix by Paul Hilfinger. X-Git-Tag: BISON-1_49b~220 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/68cd8af38bd57476df5bd76559e637d1eb60eb88 Document the recent error-recovery fix by Paul Hilfinger. --- diff --git a/NEWS b/NEWS index 50fb91ef..6ba1741d 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,15 @@ Changes in version 1.49b: user specified that one of her tokens is numbered 256, then error will be mapped onto another number. +* Error recovery now conforms to documentation and to POSIX + When a Bison-generated parser encounters a syntax error, it now pops + the stack until it finds a state that allows shifting the error + token. Formerly, it popped the stack until it found a state that + allowed some non-error action other than a default reduction on the + error token. The new behavior has long been the documented behavior, + and has long been required by POSIX. For more details, please see + . + * Large grammars Large grammars are now supported (large token numbers, large grammar size (= sum of the LHS and RHS lengths), large LALR tables).