1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-25 05:27:12 +02:00

users/20672: missing "do" in gettext2() for "select"

This commit is contained in:
Barton E. Schaefer 2015-09-30 20:02:53 -07:00
parent 2bf4f667fb
commit bc2e73ba4c
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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();