parser/lexical.c, #7/10, use `copy_substring()'

This commit is contained in:
rlar 2016-03-11 22:41:07 +01:00
parent 9a7e915a9f
commit 615b8a4598
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@ static int numeofs = 0;
#define newword \
do { \
buf[i] = '\0'; \
append(copy(buf)); \
append(copy_substring(buf, buf + i)); \
i = 0; \
} while(0)