aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-15 13:37:07 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-15 13:37:07 +0330
commit0b8d272292ca3f7fdb44efac65f012b484d962a2 (patch)
tree755dc652d873c0c2ad6f352c40e2a92ffbbd77e5 /src/compiler/ast-tree.h
parentf8f1c956b1592a737c9318624e0fc2b4231bd782 (diff)
better copy management in ast
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h2
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);