Implement the do-while loop.

This commit is contained in:
2018-02-27 12:30:37 -08:00
parent 976b6d1b1a
commit ac8e2ff418
6 changed files with 47 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ enum libab_lexer_token_e {
TOKEN_KW_IF,
TOKEN_KW_ELSE,
TOKEN_KW_WHILE,
TOKEN_KW_DO,
TOKEN_LAST
};

View File

@@ -18,6 +18,7 @@ enum libab_tree_variant_e {
VOID,
IF,
WHILE,
DOWHILE,
CALL
};