parser/lexical.c, #7/10, use `copy_substring()'
This commit is contained in:
parent
9a7e915a9f
commit
615b8a4598
|
|
@ -80,8 +80,7 @@ static int numeofs = 0;
|
||||||
|
|
||||||
#define newword \
|
#define newword \
|
||||||
do { \
|
do { \
|
||||||
buf[i] = '\0'; \
|
append(copy_substring(buf, buf + i)); \
|
||||||
append(copy(buf)); \
|
|
||||||
i = 0; \
|
i = 0; \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue