diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/text.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 3f54075f8..bb7717692 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ 2015-09-30 Barton E. Schaefer <schaefer@zsh.org> + * users/20672: Src/text.c: missing "do" in gettext2() for "select" + * 36707: Src/exec.c, Src/loop.c: distinguish ERR_RETURN value of retflag so that execif() can ignore it in the test sublist diff --git a/Src/text.c b/Src/text.c index 7e65f43a4..9421d70ce 100644 --- a/Src/text.c +++ b/Src/text.c @@ -632,8 +632,10 @@ gettext2(Estate state) taddstr(" in "); taddlist(state, *state->pc++); } - tindent++; taddnl(0); + taddstr("do"); + taddnl(0); + tindent++; tpush(code, 1); } else { dec_tindent(); |