From 31a13a8931c6d662327440edc152eb03da466c45 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 19 Jan 2000 17:35:54 +0000 Subject: zsh-workers/9367 --- Src/parse.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Src/parse.c') diff --git a/Src/parse.c b/Src/parse.c index 11aa0b60f..ecb88536b 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1727,7 +1727,7 @@ yyerror(int noerr) * Word code layout: * * WC_END - * - only used for empty functions + * - end of program code * * WC_LIST * - data contains type (sync, ...) @@ -2217,6 +2217,14 @@ ecomp(struct node *n) } } break; + case N_COND: + eccond((Cond) n); + break; +#ifdef DEBUG + default: + dputs("BUG: node type not handled in ecomp()."); + break; +#endif } } @@ -2335,8 +2343,7 @@ execompile(List list) ecsoffs = ecnpats = 0; ec(list); - if (!ecused) - ecadd(WCB_END()); + ecadd(WCB_END()); ret = (Eprog) zhalloc(sizeof(*ret)); ret->len = ((ecnpats * sizeof(Patprog)) + -- cgit 1.4.1