From 3e80f6430d4a776eb56df6f0b0e34f3ca784749f Mon Sep 17 00:00:00 2001 From: Jacob Signorovitch Date: Wed, 23 Apr 2025 13:06:54 -0400 Subject: [PATCH] Updated output formatting for scope. --- src/ast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ast.c b/src/ast.c index 8c60e6a..97bce46 100644 --- a/src/ast.c +++ b/src/ast.c @@ -64,6 +64,7 @@ void ast_print_i(AST* ast, int i) { INDENT_TITLE("AST", ast); INDENT_FIELD("type", "%s", asttype_names[ast->type]); + INDENT_FIELD("scope", "%p", ast->scope); INDENT_FIELD_EXT_NONL_START("data"); switch (ast->type) { case AST_TYPE_NUM: