From caf6ecd9344b13c443435f94c3c5b8ccf717e853 Mon Sep 17 00:00:00 2001 From: A404M Date: Thu, 24 Apr 2025 19:37:45 +0330 Subject: some clean ups --- src/compiler/ast-tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/ast-tree.c') diff --git a/src/compiler/ast-tree.c b/src/compiler/ast-tree.c index b770098..2201b4a 100644 --- a/src/compiler/ast-tree.c +++ b/src/compiler/ast-tree.c @@ -195,6 +195,7 @@ AstTreeRoots AST_TREE_ROOTS_ERROR = { .size = -1ULL, }; +#ifdef PRINT_COMPILE_TREE void astTreePrint(const AstTree *tree, int indent) { for (int i = 0; i < indent; ++i) printf(" "); @@ -600,6 +601,7 @@ void astTreeRootPrint(const AstTreeRoot *root) { printf("\n"); } } +#endif void astTreeDestroy(AstTree tree) { if (tree.type != NULL) { -- cgit v1.2.3