diff --git a/src/frontend/parser/lexical.c b/src/frontend/parser/lexical.c index 3516e87cc..b963ffee4 100644 --- a/src/frontend/parser/lexical.c +++ b/src/frontend/parser/lexical.c @@ -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)