authorgravatar for fuweid89@gmail.comWei Fu <fuweid89@gmail.com> 2022-07-28 00:14:59+08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-29 11:28:39-07:00
logb3d0694fc53e2fc7c7c412d68e2f82315070ddfd
treebc54adf1d70e829fccb7eb24f4b888c8a36c396b
parent64dc1b05d6ea6f1a6c275d33800e8fc2454aab5d

stage1: remove deadcode ast_print

Fixes: 2a990d696 ("stage1: rework tokenizer to match stage2") Fixes: b6354ddd5 ("move AST rendering code to separate file") Signed-off-by: Wei Fu <fuweid89@gmail.com>

1 files changed, 0 insertions(+), 2 deletions(-)

src/stage1/parser.hpp-2
...@@ -14,8 +14,6 @@...@@ -14,8 +14,6 @@
1414
15AstNode * ast_parse(Buf *buf, ZigType *owner, ErrColor err_color);15AstNode * ast_parse(Buf *buf, ZigType *owner, ErrColor err_color);
1616
17void ast_print(AstNode *node, int indent);
18
19void ast_visit_node_children(AstNode *node, void (*visit)(AstNode **, void *context), void *context);17void ast_visit_node_children(AstNode *node, void (*visit)(AstNode **, void *context), void *context);
2018
21Buf *node_identifier_buf(AstNode *node);19Buf *node_identifier_buf(AstNode *node);