# HG changeset patch # User John W. Eaton # Date 1377362663 14400 # Node ID f444e4cef9b9079db246349482f517692810f147 # Parent 8cfc28809a07dee62b76a431dddb7bfe014a07ba avoid exiting Octave on parse error (bug #39862) * oct-parse.in.yy (input): Use "parse_error" instead of "simple_list parse_error". diff -r 8cfc28809a07 -r f444e4cef9b9 libinterp/parse-tree/oct-parse.in.yy --- a/libinterp/parse-tree/oct-parse.in.yy Fri Aug 23 20:05:04 2013 -0700 +++ b/libinterp/parse-tree/oct-parse.in.yy Sat Aug 24 12:44:23 2013 -0400 @@ -318,7 +318,7 @@ parser.stmt_list = $1; YYACCEPT; } - | simple_list parse_error + | parse_error { ABORT_PARSE; } ;