summaryrefslogtreecommitdiffstats
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rwxr-xr-xsrc/gram.y11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gram.y b/src/gram.y
index 3d38471..11ef14a 100755
--- a/src/gram.y
+++ b/src/gram.y
@@ -1240,12 +1240,15 @@ command:
| // nothing
| error {
sc_error("syntax error: %s", line);
- line[0]='\0';
+ YYABORT;
+
//linelim = 0;
//yyparse();
- linelim = -1;
- yyclearin;
- yyerrok;
+
+ //line[0]='\0';
+ //linelim = -1;
+ //yyclearin;
+ //yyerrok;
};
term: var {