From 7a8a8b975bd4ca636b825a42852c5af95d9b5825 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 14 Dec 2021 23:11:29 -0500 Subject: [EXEC] Struct mapping + added tStruct TType for use in modules + implemented a way to define structs in modules --- src/texec/libtnsl.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/texec/libtnsl.go') 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 -- cgit v1.2.3