mirror of
https://github.com/zsh-users/zsh
synced 2024-07-08 19:55:44 +00:00
18188: Output balanced parentheses in case statements
This commit is contained in:
parent
ac62ad2b1f
commit
6a8be0aff1
|
@ -1,3 +1,8 @@
|
|||
2003-02-04 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 18188: Src/text.c: make output case statements use balanced
|
||||
parentheses.
|
||||
|
||||
2003-02-03 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 18175: Completion/Unix/Command/_p4: Completion for Perforce.
|
||||
|
|
|
@ -521,6 +521,7 @@ gettext2(Estate state)
|
|||
taddnl();
|
||||
else
|
||||
taddchr(' ');
|
||||
taddstr("(");
|
||||
code = *state->pc++;
|
||||
taddstr(ecgetstr(state, EC_NODUP, NULL));
|
||||
state->pc++;
|
||||
|
@ -537,6 +538,7 @@ gettext2(Estate state)
|
|||
taddnl();
|
||||
else
|
||||
taddchr(' ');
|
||||
taddstr("(");
|
||||
code = *state->pc++;
|
||||
taddstr(ecgetstr(state, EC_NODUP, NULL));
|
||||
state->pc++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user