Mercurial > hg > octave-lyh
changeset 14584:3a10d5bdada8
src/symtab.yy (ABORT_PARSE): Prevent multiple parse errors in eval (bug #35154)
author | Max Brister <max@2bass.com> |
---|---|
date | Wed, 25 Apr 2012 14:12:12 -0600 |
parents | e97ec01d4157 |
children | c38a253723d3 |
files | src/oct-parse.yy |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oct-parse.yy +++ b/src/oct-parse.yy @@ -373,7 +373,8 @@ yyerrok; \ if (! parser_symtab_context.empty ()) \ parser_symtab_context.pop (); \ - if (interactive || forced_interactive) \ + if ((interactive || forced_interactive) \ + && ! get_input_from_eval_string) \ YYACCEPT; \ else \ YYABORT; \