summaryrefslogtreecommitdiff
path: root/src/texec/world.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-11-02 13:57:27 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-11-02 13:57:27 -0400
commit92b72f0357c553add6f010626e85268428ad5eb5 (patch)
tree0c1083a9fd61371eb0ac7f335691c6dc7c793ae5 /src/texec/world.go
parente18043e5ac4e09870e9f5b1498e0ef954064ee49 (diff)
[EXEC] General changes, refactoring
Diffstat (limited to 'src/texec/world.go')
-rw-r--r--src/texec/world.go7
1 files changed, 1 insertions, 6 deletions
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
-}