From b3ff589dbd97f6057a03bedc7df8ccca7bd3662f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 26 Apr 2024 16:39:38 +0300 Subject: formatting --- src/ast.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 10f14d0..8da9677 100644 --- a/src/ast.c +++ b/src/ast.c @@ -66,6 +66,7 @@ struct ast *gen_ast(enum ast_kind kind, return n; } +#ifdef DEBUG static void dump(int depth, const char *fmt, ...) { va_list args; @@ -165,6 +166,7 @@ void ast_dump_list(int depth, struct ast *root) ast_dump(depth, n); } } +#endif /* DEBUG */ int ast_visit(ast_callback_t before, ast_callback_t after, struct ast *n, void *d) -- cgit v1.2.3