From ad84b1068494872db2166bd81ce1f3831ead2c6b Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 10 Apr 2022 13:27:43 -0400 Subject: Small fix for command line options --- src/texec/eval.go | 5 +++-- 1 file 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 { -- cgit v1.2.3