diff options
Diffstat (limited to 'repl.lua')
-rw-r--r-- | repl.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ local function read_chunk() -- if error ends in <eof> try multiline local function try(text) + if text == nil then + os.exit() + end if text:sub(1,3) == ",r " then return function() reload(text:sub(4)) print("reloaded "..text:sub(4)) end end |