diff options
-rw-r--r-- | lexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ lex_alphanum(void) { i = 0; while (i < MAX_IDENT_LENGTH - 1 && isalnum(buf[column_number + i])) { - t.value[i] = buf[i]; + t.value[i] = buf[column_number + i]; i++; } t.value[i] = '\0'; |