From 1a50974b834227190f7de3939db5689bb0702a34 Mon Sep 17 00:00:00 2001 From: A404M Date: Sun, 11 May 2025 08:23:55 +0330 Subject: fix typo some clean up --- src/compiler/ast-tree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compiler/ast-tree.h') diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 91beae3..bd357d2 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -375,8 +375,7 @@ AstTree *astTreeParseBracket(const ParserNode *parserNode, AstTreeHelper *helper, AstTreeToken token); bool isFunction(AstTree *value); -bool isConst(AstTree *tree); -bool isConstByValue(AstTree *tree); +bool isConst(AstTree *tree,bool byValue); AstTree *makeTypeOf(AstTree *value); bool typeIsEqual(AstTree *type0, AstTree *type1); bool typeIsEqualBack(const AstTree *type0, const AstTree *type1); -- cgit v1.2.3