diff options
| author | Mel <mel@rnrd.eu> | 2025-06-30 02:49:42 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-06-30 02:49:42 +0200 |
| commit | b16cf0fc98940554ef0febfe443ef690618d5083 (patch) | |
| tree | 15cd49710d66988bf0acbb1ce92f64e3ea01d473 /boot/catboot.c | |
| parent | 3d983097329607cc89b63425e97527c5ec0390c8 (diff) | |
| download | catskill-b16cf0fc98940554ef0febfe443ef690618d5083.tar.zst catskill-b16cf0fc98940554ef0febfe443ef690618d5083.zip | |
Implement Visitor system for syntax tree, with re-written tree printer as first usage
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/catboot.c')
| -rw-r--r-- | boot/catboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
