Updated output formatting for scope.

This commit is contained in:
Jacob Signorovitch 2025-04-23 13:06:54 -04:00
parent 5b50d423fa
commit 3e80f6430d

View File

@ -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: