diff src/parse.y @ 1091:54abf1b3a8e9

[project @ 1995-02-02 00:30:14 by jwe]
author jwe
date Thu, 02 Feb 1995 00:30:14 +0000
parents d5b0d11e3200
children c210c5a25a48
line wrap: on
line diff
--- a/src/parse.y
+++ b/src/parse.y
@@ -300,15 +300,9 @@
 		    YYABORT;
 		  }
 		| simple_list parse_error
-		  {
-		    yyerror ("parse error");
-		    ABORT_PARSE;
-		  }
+		  { ABORT_PARSE; }
 		| parse_error
-		  {
-		    yyerror ("parse error");
-		    ABORT_PARSE;
-		  }
+		  { ABORT_PARSE; }
 		;
 
 input1		: '\n'
@@ -322,6 +316,7 @@
 		;
 
 parse_error	: LEXICAL_ERROR
+		  { yyerror ("parse error"); }
 		| error
 		;