summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/ast-tree.c')
-rw-r--r--src/compiler/ast-tree.c2
1 files changed, 2 insertions, 0 deletions
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) {