summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-24 19:37:45 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-24 19:37:45 +0330
commitcaf6ecd9344b13c443435f94c3c5b8ccf717e853 (patch)
tree881708e5e0b49067fa8e43ee0c76df5a29431602 /src/compiler/ast-tree.h
parentcfc289f11c09aad28482204255934742e0f3f87f (diff)
some clean ups
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index d60088d..68b8ec6 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -259,9 +259,11 @@ typedef struct AstTreeBuiltin {
AstTreeBuiltinToken token;
} AstTreeBuiltin;
+#ifdef PRINT_COMPILE_TREE
void astTreePrint(const AstTree *tree, int indent);
void astTreeVariablePrint(const AstTreeVariable *variable, int indent);
void astTreeRootPrint(const AstTreeRoot *root);
+#endif
void astTreeDestroy(AstTree tree);
void astTreeVariableDestroy(AstTreeVariable variable);