diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-12-14 23:11:29 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-12-14 23:11:29 -0500 |
commit | 7a8a8b975bd4ca636b825a42852c5af95d9b5825 (patch) | |
tree | 00465a3f940c38f8a8a59b60f4b19252f3f7677c /src/texec/libtnsl.go | |
parent | dc8f1a06f086bda90e90a5386d4619d54efb1d0d (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.go | 1 |
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 |