# HG changeset patch # User jwe # Date 760334519 0 # Node ID 62ba7bbb62e3a49ce9c8a42367b13519d95aa37a # Parent 6ed068a55a1a0c4dc58b0ed9290417ed4ce4ae09 [project @ 1994-02-04 04:01:59 by jwe] diff -r 6ed068a55a1a -r 62ba7bbb62e3 src/parse.y --- a/src/parse.y Thu Feb 03 01:04:22 1994 +0000 +++ b/src/parse.y Fri Feb 04 04:01:59 1994 +0000 @@ -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; } ;