zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b3d0694fc53e2fc7c7c412d68e2f82315070ddfd (tree)
parent 64dc1b05d6ea6f1a6c275d33800e8fc2454aab5d
Author: Wei Fu <fuweid89@gmail.com>
Date:   Thu, 28 Jul 2022 00:14:59 +0800

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>

Diffstat:
Msrc/stage1/parser.hpp | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/stage1/parser.hpp b/src/stage1/parser.hpp @@ -14,8 +14,6 @@ AstNode * ast_parse(Buf *buf, ZigType *owner, ErrColor err_color); -void ast_print(AstNode *node, int indent); - void ast_visit_node_children(AstNode *node, void (*visit)(AstNode **, void *context), void *context); Buf *node_identifier_buf(AstNode *node);