lexical, use wl_append_word()
This commit is contained in:
parent
62a4ee77d5
commit
ef37252155
|
|
@ -76,15 +76,7 @@ static int numeofs = 0;
|
|||
*/
|
||||
|
||||
#define append(word) \
|
||||
do { \
|
||||
wordlist *aux = wl_cons(word, NULL); \
|
||||
if (cw) \
|
||||
cw->wl_next = aux; \
|
||||
aux->wl_prev = cw; \
|
||||
cw = aux; \
|
||||
if (!wlist) \
|
||||
wlist = cw; \
|
||||
} while(0)
|
||||
wl_append_word(&wlist, &cw, word)
|
||||
|
||||
|
||||
#define newword \
|
||||
|
|
|
|||
Loading…
Reference in New Issue