diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-15 18:59:14 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-15 18:59:14 +0330 |
commit | 52fac2c9232d39b3fe98438a47c22f985b260f58 (patch) | |
tree | fe95e62f933a28a29d92d274c8c0e1c93d60b79f /src/compiler/ast-tree.h | |
parent | 038bbfc95cf79e1be48b1926e9893e2a12a3b92a (diff) |
some improvements for type system
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 1c39ecb..988b48c 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -326,6 +326,7 @@ bool typeIsEqualBack(const AstTree *type0, const AstTree *type1); AstTree *getValue(AstTree *tree); bool isIntType(AstTree *type); bool isEqual(AstTree *left, AstTree *right); +bool isEqualVariable(AstTreeVariable *left, AstTreeVariable *right); bool setAllTypesRoot(AstTreeRoot *root); bool setAllTypes(AstTree *tree, AstTreeSetTypesHelper helper, |