diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,7 +43,8 @@ main(int argc, char *argv[]) struct token token; while (lex(&lexer, &token) != T_EOF) { printf("%d", token.token); - if (token.token == T_IDENT || token.token == T_NAME) { + if (token.token == T_IDENT || token.token == T_NAME + || token.token == T_STRING) { printf(" %s", token.info.str); } else if (token.token == T_NUMBER && token.info.num.isfloat) { |