diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-15 13:37:07 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-15 13:37:07 +0330 |
commit | 0b8d272292ca3f7fdb44efac65f012b484d962a2 (patch) | |
tree | 755dc652d873c0c2ad6f352c40e2a92ffbbd77e5 /src/compiler/ast-tree.h | |
parent | f8f1c956b1592a737c9318624e0fc2b4231bd782 (diff) |
better copy management in ast
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index de0dcd7..7d6dd5f 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -405,7 +405,7 @@ AstTree *makeTypeOfFunction(AstTreeFunction *function, const char *str_begin, const char *str_end); bool typeIsEqual(AstTree *type0, AstTree *type1); bool typeIsEqualBack(const AstTree *type0, const AstTree *type1); -AstTree *getValue(AstTree *tree); +AstTree *getValue(AstTree *tree,bool copy); bool isIntType(AstTree *type); bool isEqual(AstTree *left, AstTree *right); bool isEqualVariable(AstTreeVariable *left, AstTreeVariable *right); |