From 52fac2c9232d39b3fe98438a47c22f985b260f58 Mon Sep 17 00:00:00 2001 From: A404M Date: Tue, 15 Apr 2025 18:59:14 +0330 Subject: some improvements for type system --- src/compiler/ast-tree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/ast-tree.h') 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, -- cgit v1.2.3