summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Src/init.c4
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;