diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-08 10:58:07 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-08 10:58:07 +0330 |
commit | cb26dd0fc9c1e33be1c32eb85b04434526004e6a (patch) | |
tree | 8a467633398b2384216c5ac652a2ff86a2b5d3f3 /src/compiler/ast-tree.h | |
parent | f362a9a64004ba61e326e223d0d28997762afe71 (diff) |
add bool
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 { |