mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 23:29:03 +00:00
parser: force ast printer to be correct
This commit is contained in:
parent
311fd67083
commit
6f460de02d
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ void ast_print(AstNode *node, int indent) {
|
||||||
ast_print(child, indent + 2);
|
ast_print(child, indent + 2);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
case NodeTypeDirective:
|
||||||
fprintf(stderr, "%s\n", node_type_str(node->type));
|
fprintf(stderr, "%s\n", node_type_str(node->type));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue