diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-26 02:06:04 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-26 02:06:04 +0330 |
commit | 3950c23e40207cd8a374fcd4aa5739c0a63115f5 (patch) | |
tree | 9bc4703a7eeb2d2ae9ca6324e61c56598cefa134 /src/compiler/ast-tree.h | |
parent | 7bd975ec69c8dc9d5a6343a2e5f06bd7dd78d78e (diff) |
add address operator
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 33cf9da..0ea78e9 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -56,6 +56,7 @@ typedef enum AstTreeToken { AST_TREE_TOKEN_OPERATOR_GREATER_OR_EQUAL, AST_TREE_TOKEN_OPERATOR_SMALLER_OR_EQUAL, AST_TREE_TOKEN_OPERATOR_POINTER, + AST_TREE_TOKEN_OPERATOR_ADDRESS, AST_TREE_TOKEN_SCOPE, @@ -258,6 +259,7 @@ bool setTypesOperatorInfixWithRet(AstTree *tree, AstTree *retType, AstTreeSetTypesHelper helper); bool setTypesOperatorUnary(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesOperatorPointer(AstTree *tree, AstTreeSetTypesHelper helper); +bool setTypesOperatorAddress(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesVariableDefine(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesIf(AstTree *tree, AstTreeSetTypesHelper helper, AstTreeFunction *function); |