add if and else, and fix nested loops (hopefully)

This commit is contained in:
r4
2021-12-23 19:58:00 +01:00
parent ef63742015
commit 97e8e32ebc
6 changed files with 87 additions and 14 deletions

1
tok.h
View File

@@ -69,6 +69,7 @@ typedef struct Tok {
TokAssign,
TokDeclare,
TokIf,
TokElse,
TokWhile,
TokKindEnumSize,
} kind;