From d24f878546806aa8fd50dc95fe3cc111ad10f92f Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 4 May 2001 21:20:20 +0000 Subject: Don't reset parents context when we encounter an terminator. Fixes if true; then if true; then true; fi; fi --- hush.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hush.c') diff --git a/hush.c b/hush.c index 71e4048..976fa38 100644 --- a/hush.c +++ b/hush.c @@ -1660,7 +1660,6 @@ int reserved_word(o_string *dest, struct p_context *ctx) old->child->group = ctx->list_head; *ctx = *old; /* physical copy */ free(old); - ctx->w=RES_NONE; } b_reset (dest); return 1; -- cgit v1.1