diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-04-10 13:27:43 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-04-10 13:27:43 -0400 |
commit | ad84b1068494872db2166bd81ce1f3831ead2c6b (patch) | |
tree | 59b2bf8a012eb2c0887fe5d35f526b17c992797d /src | |
parent | 0c603c234f01567f731f07d7051ea92407d2e840 (diff) |
Small fix for command line options
Diffstat (limited to 'src')
-rw-r--r-- | src/texec/eval.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/texec/eval.go b/src/texec/eval.go index 3d73ec1..fa187ef 100644 --- a/src/texec/eval.go +++ b/src/texec/eval.go @@ -1233,8 +1233,9 @@ func EvalTNSL(root *TModule, args string) TVariable { for j := 0; j < len(dat); j++ { tmp = append(tmp, dat[j]) } - - saif = append(saif, tmp) + if len(tmp) > 0 { + saif = append(saif, tmp) + } } targ := TVariable { |