Browse Source

Revert "cleanup, use wl_cons()"

This reverts parts of commit 7a7250cdbd.
There is a cleaner way to rewrite lexical.c
rlar 14 years ago
parent
commit
f36772419a
  1. 4
      src/frontend/parser/lexical.c

4
src/frontend/parser/lexical.c

@ -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…
Cancel
Save