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:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user