diff options
author | Araq <rumpf_a@web.de> | 2011-06-26 22:43:38 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-06-26 22:43:38 +0200 |
commit | aa14667ca161049bba66b3096aafbc6e4badadbb (patch) | |
tree | 1e3c88c0bf73867d37383ba31c131b7df60fedd8 /lib | |
parent | e25384db8907f846f3c053379cf5b431c4d28760 (diff) | |
download | Nim-aa14667ca161049bba66b3096aafbc6e4badadbb.tar.gz |
bugfix: pegs.nim compiles again
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/system/excpt.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 6ef4ca376..c309ef17e 100755 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -196,7 +196,6 @@ proc raiseException(e: ref E_Base, ename: CString) {.compilerRtl.} = e.name = ename if raiseHook != nil: if not raiseHook(e): return - GC_disable() # a bad thing is an error in the GC while raising an exception if excHandler != nil: pushCurrentException(e) c_longjmp(excHandler.context, 1) @@ -233,7 +232,6 @@ proc raiseException(e: ref E_Base, ename: CString) {.compilerRtl.} = add(buf, "]\n") writeToStdErr(buf) quitOrDebug() - GC_enable() proc reraiseException() {.compilerRtl.} = if currException == nil: |