1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 08:30:54 +02: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

View file

@ -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;