From cd34a562ce21381600799c390ba7e905e9dcf1e8 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 5 Dec 2022 11:25:56 -0500 Subject: Update main file --- .gitignore | 2 ++ tnslc/tnslc.tnsl | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1f08b40..3d0b136 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ tint +*.S +*.out diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl index b8cfb92..1056dc5 100644 --- a/tnslc/tnslc.tnsl +++ b/tnslc/tnslc.tnsl @@ -15,6 +15,7 @@ #/ :include "util.tnsl" +:include "paths.tnsl" /; export module tnslc :include "parse/parse.tnsl" @@ -38,7 +39,10 @@ ;src.close() - ;tnslc.print_tokens(psrc) + ;tnsl.io.print(len psrc`) + ;tnsl.io.println(" tokens parsed.") + + # ;tnslc.print_tokens(psrc) # ;tnslc.Node tree_node = tnslc.ast.make_tree(psrc, args{0}) -- cgit v1.2.3