summaryrefslogtreecommitdiff
path: root/src/texec/libtnsl.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-12-14 23:11:29 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-12-14 23:11:29 -0500
commit7a8a8b975bd4ca636b825a42852c5af95d9b5825 (patch)
tree00465a3f940c38f8a8a59b60f4b19252f3f7677c /src/texec/libtnsl.go
parentdc8f1a06f086bda90e90a5386d4619d54efb1d0d (diff)
[EXEC] Struct mapping
+ added tStruct TType for use in modules + implemented a way to define structs in modules
Diffstat (limited to 'src/texec/libtnsl.go')
-rw-r--r--src/texec/libtnsl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/texec/libtnsl.go b/src/texec/libtnsl.go
index a5d4589..c0580c7 100644
--- a/src/texec/libtnsl.go
+++ b/src/texec/libtnsl.go
@@ -54,6 +54,7 @@ var (
// used only in module definintion
tEnum = TType{Pre: []string{}, T: TArtifact{Path: []string{}, Name: "enum"}, Post: ""}
+ tStruct = TType{Pre: []string{}, T: TArtifact{Path: []string{}, Name: "struct"}, Post: ""}
)
// tells if the stub supports a function