diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-04-09 15:00:53 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-04-09 15:00:53 -0400 |
commit | 9d2f8bbece1fea5cc2b3db7abe8d395e1d1d2f9e (patch) | |
tree | 24aaf0882cefc7e55c1090b2625c15f7dacabcd8 /src/texec | |
parent | c373ad7aa67ea47876a9f9358305d5488d6f24ff (diff) |
[EXEC] Hotfix for reading from files
Diffstat (limited to 'src/texec')
-rw-r--r-- | src/texec/eval.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texec/eval.go b/src/texec/eval.go index 4d4785d..2ac6eab 100644 --- a/src/texec/eval.go +++ b/src/texec/eval.go @@ -628,7 +628,7 @@ func resolveStructCall(a TArtifact, method string, params []TVariable) TVariable a.Name = method tres := tnslResolve(a) - if a.Name == "close" { + if a.Name == "close" || a.Name == "read" { params = append(params, null) } |