mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-08 09:41:14 +02:00
Pass the new Eprog argument to hend().
This commit is contained in:
parent
495249342e
commit
8740d0b407
1 changed files with 2 additions and 2 deletions
|
@ -119,14 +119,14 @@ loop(int toplevel, int justonce)
|
||||||
intr(); /* interrupts on */
|
intr(); /* interrupts on */
|
||||||
lexinit(); /* initialize lexical state */
|
lexinit(); /* initialize lexical state */
|
||||||
if (!(prog = parse_event())) { /* if we couldn't parse a list */
|
if (!(prog = parse_event())) { /* if we couldn't parse a list */
|
||||||
hend();
|
hend(NULL);
|
||||||
if ((tok == ENDINPUT && !errflag) ||
|
if ((tok == ENDINPUT && !errflag) ||
|
||||||
(tok == LEXERR && (!isset(SHINSTDIN) || !toplevel)) ||
|
(tok == LEXERR && (!isset(SHINSTDIN) || !toplevel)) ||
|
||||||
justonce)
|
justonce)
|
||||||
break;
|
break;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (hend()) {
|
if (hend(prog)) {
|
||||||
int toksav = tok;
|
int toksav = tok;
|
||||||
Eprog preprog;
|
Eprog preprog;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue