From d11e0cfa895cdecbf9b3d0ca842a49c7a214e348 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 19 Jul 2005 07:10:32 +0000
Subject: [PATCH] Regenerate.

---
 src/parse-gram.c | 19 +++++++------------
 src/parse-gram.h |  2 +-
 2 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/src/parse-gram.c b/src/parse-gram.c
index 59c0923a..687672ab 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -1997,8 +1997,7 @@ yyerrlab:
 
       if (yychar <= YYEOF)
         {
-          /* If at end of input, pop the error token,
-	     then the rest of the stack, then return failure.  */
+	  /* Return failure if at end of input.  */
 	  if (yychar == YYEOF)
 	    YYABORT;
         }
@@ -2110,16 +2109,12 @@ yyreturn:
   if (yychar != YYEOF && yychar != YYEMPTY)
      yydestruct ("Error: discarding lookahead",
 		 yytoken, &yylval, &yylloc);
-  if (yyssp != yyss)
-    for (;;)
-      {
-	yyerror_range[0] = *yylsp;
-	YYPOPSTACK;
-	if (yyssp == yyss)
-	  break;
-	yydestruct ("Error: popping",
-		    yystos[*yyssp], yyvsp, yylsp);
-      }
+  while (yyssp != yyss)
+    {
+      yydestruct ("Error: popping",
+		  yystos[*yyssp], yyvsp, yylsp);
+      YYPOPSTACK;
+    }
 #ifndef yyoverflow
   if (yyss != yyssa)
     YYSTACK_FREE (yyss);
diff --git a/src/parse-gram.h b/src/parse-gram.h
index ec10aab0..83d74854 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -143,7 +143,7 @@ typedef union YYSTYPE {
   assoc assoc;
   uniqstr uniqstr;
 } YYSTYPE;
-/* Line 1399 of yacc.c.  */
+/* Line 1394 of yacc.c.  */
 #line 148 "parse-gram.h"
 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
 # define YYSTYPE_IS_DECLARED 1
-- 
2.47.2