Permalink
Browse files

Repl fixes

  • Loading branch information...
1 parent 6d9ed44 commit 1b0c6345c109adfdac3b000827ad1f3a3d92b4f1 @probablycorey committed Jun 28, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/stdlib/repl.lua
View
@@ -2,10 +2,8 @@ local input
repeat
io.write("wax> ")
- local success, e = pcall(function()
- input = io.read()
- wax.eval(input)
- end)
+ input = io.read()
+ local success, e = wax.eval(input)
if not success then print("Error: " .. e) end
until not input

0 comments on commit 1b0c634

Please sign in to comment.