aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-06 03:33:11 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-06 03:33:11 +0300
commit15fe079a45b48c29db2bed85d706fb1c976b1953 (patch)
tree63b1d21cb2a5eeb6c9ba5d5532b1de2c8fd7369f /examples
parente7529f3a331ec21c40ff1940603fc06f80d54854 (diff)
downloadcsx-15fe079a45b48c29db2bed85d706fb1c976b1953.tar
csx-15fe079a45b48c29db2bed85d706fb1c976b1953.tar.xz
csx-15fe079a45b48c29db2bed85d706fb1c976b1953.zip
Fix of fix of fix.
Diffstat (limited to 'examples')
-rw-r--r--examples/interpreter.csx4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/interpreter.csx b/examples/interpreter.csx
index b82caab..4632a24 100644
--- a/examples/interpreter.csx
+++ b/examples/interpreter.csx
@@ -201,9 +201,7 @@
[set read [fn [usercontext]
[output "> "]
[sethead linep [instrlist]]
- [set readed [readobj]]
- [write readed] [output newline]
- [set res [run readed usercontext]]
+ [set res [run [readobj] usercontext]]
[write [head res]]
[output newline]
[read [tail res]]