diff options
| author | Joel Martin <github@martintribe.org> | 2015-02-28 15:58:35 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-02-28 15:58:35 -0600 |
| commit | 3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f (patch) | |
| tree | 523465cf281c01c8930e3166e4050cd201335411 /lua/step2_eval.lua | |
| parent | 7907cd904a12c542529b27b0517a609e9cc4bb08 (diff) | |
| download | mal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.tar.gz mal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.zip | |
Lua: fix with new runtest.py
Diffstat (limited to 'lua/step2_eval.lua')
| -rwxr-xr-x | lua/step2_eval.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/step2_eval.lua b/lua/step2_eval.lua index 7487064..22ac8cf 100755 --- a/lua/step2_eval.lua +++ b/lua/step2_eval.lua @@ -58,6 +58,10 @@ function rep(str) return PRINT(EVAL(READ(str),repl_env)) end +if #arg > 0 and arg[1] == "--raw" then + readline.raw = true +end + while true do line = readline.readline("user> ") if not line then break end |
