aboutsummaryrefslogtreecommitdiff
path: root/lua/stepA_mal.lua
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-28 15:58:35 -0600
committerJoel Martin <github@martintribe.org>2015-02-28 15:58:35 -0600
commit3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f (patch)
tree523465cf281c01c8930e3166e4050cd201335411 /lua/stepA_mal.lua
parent7907cd904a12c542529b27b0517a609e9cc4bb08 (diff)
downloadmal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.tar.gz
mal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.zip
Lua: fix with new runtest.py
Diffstat (limited to 'lua/stepA_mal.lua')
-rwxr-xr-xlua/stepA_mal.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/stepA_mal.lua b/lua/stepA_mal.lua
index 430fffc..db31789 100755
--- a/lua/stepA_mal.lua
+++ b/lua/stepA_mal.lua
@@ -185,6 +185,11 @@ function print_exception(exc)
end
end
+if #arg > 0 and arg[1] == "--raw" then
+ readline.raw = true
+ table.remove(arg,1)
+end
+
if #arg > 0 then
xpcall(function() rep("(load-file \""..arg[1].."\")") end,
print_exception)