Updated output formatting for scope.
This commit is contained in:
parent
5b50d423fa
commit
3e80f6430d
@ -64,6 +64,7 @@ void ast_print_i(AST* ast, int i) {
|
|||||||
|
|
||||||
INDENT_TITLE("AST", ast);
|
INDENT_TITLE("AST", ast);
|
||||||
INDENT_FIELD("type", "%s", asttype_names[ast->type]);
|
INDENT_FIELD("type", "%s", asttype_names[ast->type]);
|
||||||
|
INDENT_FIELD("scope", "%p", ast->scope);
|
||||||
INDENT_FIELD_EXT_NONL_START("data");
|
INDENT_FIELD_EXT_NONL_START("data");
|
||||||
switch (ast->type) {
|
switch (ast->type) {
|
||||||
case AST_TYPE_NUM:
|
case AST_TYPE_NUM:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user