From b16cf0fc98940554ef0febfe443ef690618d5083 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Jun 2025 02:49:42 +0200 Subject: Implement Visitor system for syntax tree, with re-written tree printer as first usage Signed-off-by: Mel --- boot/catboot.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot/catboot.c') diff --git a/boot/catboot.c b/boot/catboot.c index 79a5e2b..7ab9c4f 100644 --- a/boot/catboot.c +++ b/boot/catboot.c @@ -24,6 +24,7 @@ #include "lex.c" #include "tree.c" #include "parse.c" +#include "visit.c" const ascii* read_file(const ascii* path) @@ -81,6 +82,8 @@ main(const int32 argc, const ascii* argv[]) } tree_print(&tree); + printf("\n"); + tree_printer(&tree); return EXIT_SUCCESS; } -- cgit 1.4.1