changeset 17334:f444e4cef9b9

avoid exiting Octave on parse error (bug #39862) * oct-parse.in.yy (input): Use "parse_error" instead of "simple_list parse_error".
author John W. Eaton <jwe@octave.org>
date Sat, 24 Aug 2013 12:44:23 -0400
parents 8cfc28809a07
children fe6518a1d87c
files libinterp/parse-tree/oct-parse.in.yy
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.in.yy
+++ b/libinterp/parse-tree/oct-parse.in.yy
@@ -318,7 +318,7 @@
                     parser.stmt_list = $1;
                     YYACCEPT;
                   }
-                | simple_list parse_error
+                | parse_error
                   { ABORT_PARSE; }
                 ;