From 92b72f0357c553add6f010626e85268428ad5eb5 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 2 Nov 2021 13:57:27 -0400 Subject: [EXEC] General changes, refactoring --- src/texec/world.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/texec/world.go') diff --git a/src/texec/world.go b/src/texec/world.go index d87119d..86660bc 100644 --- a/src/texec/world.go +++ b/src/texec/world.go @@ -40,14 +40,9 @@ type TContext struct { // TModule represents a collection of files and sub-modules in a program type TModule struct { + Name string Files []tparse.Node Globals []map[string]TVariable Sub []TModule } -// TWorld represents the full program -type TWorld struct { - Modules []TModule - MainPath TPath - MainFunc tparse.Node -} -- cgit v1.2.3