1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 11:01:13 +02:00

zsh-workers/9524

This commit is contained in:
Tanaka Akira 2000-02-02 08:58:43 +00:00
parent 40a295bdf9
commit d8e90f0efe

View file

@ -182,6 +182,7 @@ struct tstack {
} _redir;
struct {
char *strs;
Wordcode end;
} _funcdef;
struct {
Wordcode end;
@ -372,11 +373,13 @@ gettext2(Estate state)
taddnl();
n = tpush(code, 1);
n->u._funcdef.strs = state->strs;
n->u._funcdef.end = end;
state->strs = (char *) (p + (*state->pc));
state->pc += 2;
}
} else {
state->strs = s->u._funcdef.strs;
state->pc = s->u._funcdef.end;
tindent--;
taddnl();
taddstr("}");