diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-24 19:37:45 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-24 19:37:45 +0330 |
commit | caf6ecd9344b13c443435f94c3c5b8ccf717e853 (patch) | |
tree | 881708e5e0b49067fa8e43ee0c76df5a29431602 /src/compiler/ast-tree.c | |
parent | cfc289f11c09aad28482204255934742e0f3f87f (diff) |
some clean ups
Diffstat (limited to 'src/compiler/ast-tree.c')
-rw-r--r-- | src/compiler/ast-tree.c | 2 |
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) { |