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 \
|
||||
do { \
|
||||
buf[i] = '\0'; \
|
||||
append(copy(buf)); \
|
||||
append(copy_substring(buf, buf + i)); \
|
||||
i = 0; \
|
||||
} while(0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue