Revert "cleanup, use wl_cons()"
This reverts parts of commit 7a7250cdbd.
There is a cleaner way to rewrite lexical.c
This commit is contained in:
parent
6cd13e0475
commit
f36772419a
|
|
@ -75,8 +75,10 @@ static int numeofs = 0;
|
|||
*/
|
||||
|
||||
#define newword cw->wl_word = copy(buf); \
|
||||
wl_append(cw, wl_cons(NULL, NULL)); \
|
||||
cw->wl_next = alloc(struct wordlist); \
|
||||
cw->wl_next->wl_prev = cw; \
|
||||
cw = cw->wl_next; \
|
||||
cw->wl_next = NULL; \
|
||||
bzero(buf, NEW_BSIZE_SP); \
|
||||
i = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue