Mercurial > hg > octave-avbm
comparison src/oct-parse.yy @ 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 | be18c9e359bf |
children | 460a3c6d8bf1 |
comparison
equal
deleted
inserted
replaced
14582:e97ec01d4157 | 14584:3a10d5bdada8 |
---|---|
371 { \ | 371 { \ |
372 global_command = 0; \ | 372 global_command = 0; \ |
373 yyerrok; \ | 373 yyerrok; \ |
374 if (! parser_symtab_context.empty ()) \ | 374 if (! parser_symtab_context.empty ()) \ |
375 parser_symtab_context.pop (); \ | 375 parser_symtab_context.pop (); \ |
376 if (interactive || forced_interactive) \ | 376 if ((interactive || forced_interactive) \ |
377 && ! get_input_from_eval_string) \ | |
377 YYACCEPT; \ | 378 YYACCEPT; \ |
378 else \ | 379 else \ |
379 YYABORT; \ | 380 YYABORT; \ |
380 } \ | 381 } \ |
381 while (0) | 382 while (0) |