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/parser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/parser.c') diff --git a/src/compiler/parser.c b/src/compiler/parser.c index 956b834..7265c60 100644 --- a/src/compiler/parser.c +++ b/src/compiler/parser.c @@ -171,6 +171,7 @@ static const ParserOrder PARSER_ORDER[] = { static const size_t PARSER_ORDER_SIZE = sizeof(PARSER_ORDER) / sizeof(*PARSER_ORDER); +#ifdef PRINT_COMPILE_TREE void parserNodePrint(const ParserNode *node, int indent) { for (int i = 0; i < indent; ++i) printf(" "); @@ -475,6 +476,7 @@ void parserNodePrint(const ParserNode *node, int indent) { RETURN_SUCCESS: printf("}"); } +#endif void parserNodeDelete(ParserNode *node) { if (node == NULL) { -- cgit v1.2.3