From: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri, 24 May 2002 12:45:23 +0000 (+0000)
Subject: * data/bison.simple (yyparse): Correct error handling to conform to
X-Git-Tag: BISON-1_49b~219
X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/78df8250936c6461717273adae1a1bd7d1a543c6

* data/bison.simple (yyparse): Correct error handling to conform to
POSIX and yacc.  Specifically, after syntax error is discovered,
do not reduce further before shifting the error token.
Clean up the code a bit by removing the labels yyerrdefault,
yyerrhandle, yyerrpop.
* NEWS: Document the above.
---

diff --git a/ChangeLog b/ChangeLog
index bf2bded5..a41c0728 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002-05-24  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
+	and Paul Eggert  <eggert@twinsun.com>
+	
+	* data/bison.simple (yyparse): Correct error handling to conform to
+	POSIX and yacc.  Specifically, after syntax error is discovered,
+	do not reduce further before shifting the error token.
+	Clean up the code a bit by removing the labels yyerrdefault,
+	yyerrhandle, yyerrpop.
+	* NEWS: Document the above.
+
 2002-05-20  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
 
 	* data/bison.simple (yyr1): Don't use yy_token_number_type as element