1
0
Fork 0
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:
Tanaka Akira 2000-02-24 10:20:23 +00:00
parent 3aeeda594e
commit 01ffe47e01
2 changed files with 6 additions and 4 deletions

View file

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