1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

Pass the new Eprog argument to hend().

This commit is contained in:
Wayne Davison 2000-07-19 21:09:40 +00:00
parent 495249342e
commit 8740d0b407

@ -119,14 +119,14 @@ loop(int toplevel, int justonce)
intr(); /* interrupts on */
lexinit(); /* initialize lexical state */
if (!(prog = parse_event())) { /* if we couldn't parse a list */
hend();
hend(NULL);
if ((tok == ENDINPUT && !errflag) ||
(tok == LEXERR && (!isset(SHINSTDIN) || !toplevel)) ||
justonce)
break;
continue;
}
if (hend()) {
if (hend(prog)) {
int toksav = tok;
Eprog preprog;