mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 17:31:02 +01:00
zsh-workers/9863
This commit is contained in:
parent
3aeeda594e
commit
01ffe47e01
2 changed files with 6 additions and 4 deletions
|
|
@ -269,7 +269,7 @@ gettext2(Estate state)
|
|||
taddstr("! ");
|
||||
if (WC_SUBLIST_FLAGS(code) & WC_SUBLIST_COPROC)
|
||||
taddstr("coproc ");
|
||||
tpush(code, (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END));
|
||||
s = tpush(code, (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END));
|
||||
} else {
|
||||
if (!(stack = (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END))) {
|
||||
taddstr((WC_SUBLIST_TYPE(code) == WC_SUBLIST_OR) ?
|
||||
|
|
@ -282,6 +282,8 @@ gettext2(Estate state)
|
|||
taddstr("coproc ");
|
||||
}
|
||||
}
|
||||
if (!stack && (WC_SUBLIST_FLAGS(s->code) & WC_SUBLIST_SIMPLE))
|
||||
state->pc++;
|
||||
break;
|
||||
case WC_PIPE:
|
||||
if (!s) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue