diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-27 07:11:18 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-03-27 07:11:18 +0330 |
commit | 4c7d3c1d1e71823efc47a78ef8a608ee1656b035 (patch) | |
tree | 7d76c8d28af997f13b24e80733b2580ea69ed0ae /src/compiler/ast-tree.h | |
parent | 8712565a385fcba4734f4d89ffb3aa40a30b4120 (diff) |
add dereferencing
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 87d5c93..6ce8c64 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -57,6 +57,7 @@ typedef enum AstTreeToken { AST_TREE_TOKEN_OPERATOR_SMALLER_OR_EQUAL, AST_TREE_TOKEN_OPERATOR_POINTER, AST_TREE_TOKEN_OPERATOR_ADDRESS, + AST_TREE_TOKEN_OPERATOR_DEREFERENCE, AST_TREE_TOKEN_SCOPE, @@ -267,6 +268,7 @@ bool setTypesOperatorInfixWithRet(AstTree *tree, AstTree *retType, bool setTypesOperatorUnary(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesOperatorPointer(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesOperatorAddress(AstTree *tree, AstTreeSetTypesHelper helper); +bool setTypesOperatorDereference(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesVariableDefine(AstTree *tree, AstTreeSetTypesHelper helper); bool setTypesIf(AstTree *tree, AstTreeSetTypesHelper helper, AstTreeFunction *function); |