diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2000-07-19 21:09:40 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2000-07-19 21:09:40 +0000 |
commit | 8740d0b4072bd0f5481be45f13be6997cd3db50c (patch) | |
tree | dc62f2dc794b35e9d8758adb74f6875d14fbf6c0 /Src/init.c | |
parent | 495249342e38606e9aaece1c94276f0dfeb5e5e0 (diff) | |
download | zsh-8740d0b4072bd0f5481be45f13be6997cd3db50c.tar.gz zsh-8740d0b4072bd0f5481be45f13be6997cd3db50c.tar.xz zsh-8740d0b4072bd0f5481be45f13be6997cd3db50c.zip |
Pass the new Eprog argument to hend().
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/init.c b/Src/init.c index ddb6a4d65..e190cee44 100644 --- a/Src/init.c +++ b/Src/init.c @@ -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; |