Mercurial > hg > octave-lojdl
changeset 327:62ba7bbb62e3
[project @ 1994-02-04 04:01:59 by jwe]
author | jwe |
---|---|
date | Fri, 04 Feb 1994 04:01:59 +0000 |
parents | 6ed068a55a1a |
children | 48e783fa1a47 |
files | src/parse.y |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parse.y +++ b/src/parse.y @@ -242,6 +242,12 @@ promptflag = 1; YYABORT; } + | simple_list + { + global_command = $1; + promptflag = 1; + YYACCEPT; + } | simple_list '\n' { global_command = $1; @@ -262,6 +268,8 @@ { ABORT_PARSE; } | simple_list error { ABORT_PARSE; } + | simple_list error '\n' + { ABORT_PARSE; } | simple_list error END_OF_INPUT { ABORT_PARSE; } ;