Add code to parse while loops.

This commit is contained in:
2018-02-27 11:57:45 -08:00
parent 1d0ea602a5
commit 976b6d1b1a
6 changed files with 48 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ enum libab_lexer_token_e {
TOKEN_OP_POSTFIX,
TOKEN_KW_IF,
TOKEN_KW_ELSE,
TOKEN_KW_WHILE,
TOKEN_LAST
};

View File

@@ -17,6 +17,7 @@ enum libab_tree_variant_e {
BLOCK,
VOID,
IF,
WHILE,
CALL
};