Browse Source

lexical, use wl_append_word()

rlar 14 years ago
parent
commit
ef37252155
  1. 10
      src/frontend/parser/lexical.c

10
src/frontend/parser/lexical.c

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