summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/texec/eval.go5
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 {