diff options
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 64068d3..9dd2a6a 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -14,11 +14,13 @@ typedef enum AstTreeToken { AST_TREE_TOKEN_TYPE_FUNCTION, AST_TREE_TOKEN_TYPE_VOID, AST_TREE_TOKEN_TYPE_U64, + AST_TREE_TOKEN_TYPE_BOOL, AST_TREE_TOKEN_FUNCTION_CALL, AST_TREE_TOKEN_VARIABLE, AST_TREE_TOKEN_VARIABLE_DEFINE, AST_TREE_TOKEN_VALUE_U64, + AST_TREE_TOKEN_VALUE_BOOL, AST_TREE_TOKEN_OPERATOR_ASSIGN, AST_TREE_TOKEN_OPERATOR_SUM, @@ -82,6 +84,8 @@ typedef struct AstTreeFunctionCall { typedef uint64_t AstTreeU64; +typedef bool AstTreeBool; + typedef AstTree AstTreeSingleChild; typedef struct AstTreeInfix { |