mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
zsh-workers/9676
This commit is contained in:
parent
e4c5421229
commit
55b8857726
1 changed files with 2 additions and 2 deletions
|
@ -1235,12 +1235,12 @@ ca_parse_line(Cadef d)
|
|||
else {
|
||||
LinkList l = state.oargs[state.curopt->num];
|
||||
|
||||
if (cur < compcurrent)
|
||||
memcpy(&ca_laststate, &state, sizeof(state));
|
||||
PERMALLOC {
|
||||
for (; line; line = compwords[cur++])
|
||||
addlinknode(l, ztrdup(line));
|
||||
} LASTALLOC;
|
||||
if (cur < compcurrent)
|
||||
memcpy(&ca_laststate, &state, sizeof(state));
|
||||
ca_laststate.ddef = NULL;
|
||||
ca_laststate.doff = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue