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, 4 insertions, 3 deletions
diff --git a/src/texec/world.go b/src/texec/world.go
index 7f51c13..6fa6327 100644
--- a/src/texec/world.go
+++ b/src/texec/world.go
@@ -25,13 +25,14 @@ type TVariable struct {
// TPath represents a pointer to the current module and file
// that the thread is working in.
type TPath struct {
- module []string,
- file string
+ Module []string,
+ Artifact string
}
// TContext represents a single thread.
type TContext struct {
CallStack []Node,
+ CallEnv []TPath,
VarMap []map[string]TVariable
}
@@ -47,4 +48,4 @@ type TWorld struct {
Modules []TModule,
MainPath TPath,
MainFunc Node
-} \ No newline at end of file
+}