summaryrefslogtreecommitdiff
path: root/src/texec/world.go
diff options
context:
space:
mode:
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
-}