Added support for string literals.

This commit is contained in:
2022-02-14 19:38:49 +00:00
parent 5b90c98123
commit f1a468aebc
2 changed files with 35 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ void Print(TokenList* list) {
for(int i = 0; i < list->size; i++) {
if (list->tokens[i]->type == EndOF) {
printf("EOF\n");\
printf("[Line %d] EOF\n", list->tokens[i]->line);\
return;
}