aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]]