From 0c04a61ef15f02eadc24d46b9527e0afb74040a4 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 21 Jul 2024 01:12:19 -0400 Subject: Begin ast funcs --- tnslc/tnslc.tnsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tnslc/tnslc.tnsl') diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl index bb7992c..2df15a3 100644 --- a/tnslc/tnslc.tnsl +++ b/tnslc/tnslc.tnsl @@ -35,9 +35,9 @@ usage: fout.init(DEFAULT_FOUT) ;/ - utils.Vector v = parse.gen_token_list(~fin) - parse.print_token_list(~v) - parse.end_token_list(~v) + parse.Node n = parse.generate_ast(~fin) + parse.print_ast(~n) + n.end() fin.end() fout.end() -- cgit v1.2.3