lexical #17/19, rewrite
This commit is contained in:
parent
fa9be4336a
commit
f990e517b5
|
|
@ -197,11 +197,12 @@ gotchar:
|
|||
buf[i] = '\0';
|
||||
newword;
|
||||
}
|
||||
append(NULL);
|
||||
if (cw->wl_prev) {
|
||||
if (cw) {
|
||||
append(NULL);
|
||||
cw->wl_prev->wl_next = NULL;
|
||||
tfree(cw);
|
||||
} else {
|
||||
append(NULL);
|
||||
cw->wl_word = NULL;
|
||||
}
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Reference in New Issue