diff options
author | Araq <rumpf_a@web.de> | 2011-02-13 03:39:11 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-13 03:39:11 +0100 |
commit | 627e192f64fbfadb6db48ae31cf518973d380928 (patch) | |
tree | bf4bfe805660ffe234159d52927ba68e96e49e84 /lib/system | |
parent | 5b28d08203ba36e84c8e381761db182c0393d07f (diff) | |
download | Nim-627e192f64fbfadb6db48ae31cf518973d380928.tar.gz |
basic continue after error works; interactive mode more useful
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/mmdisp.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index a85d69b0d..de604869b 100755 --- a/lib/system/mmdisp.nim +++ b/lib/system/mmdisp.nim @@ -56,7 +56,9 @@ var gOutOfMem: ref EOutOfMemory proc raiseOutOfMem() {.noreturn.} = - if gOutOfMem == nil: quit("out of memory; cannot even throw an exception") + if gOutOfMem == nil: + echo("out of memory; cannot even throw an exception") + quit(1) gOutOfMem.msg = "out of memory" raise gOutOfMem |