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:
rlar 2012-07-31 20:42:57 +02:00
parent 6cd13e0475
commit f36772419a
1 changed files with 3 additions and 1 deletions

View File

@ -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;