summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-04 02:22:38 +0200
committerAraq <rumpf_a@web.de>2013-05-04 02:22:38 +0200
commit3aa36a85680d85e063c9b1f776300bada69cb79f (patch)
treef5b3f6afcc09f6e8af8ce6970c746fb1bffb4b93 /compiler/cgen.nim
parent0991706d55dabad35f33f7d048ce1b018f6c5b2d (diff)
downloadNim-3aa36a85680d85e063c9b1f776300bada69cb79f.tar.gz
bugfixes
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r--compiler/cgen.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index cb796e456..f09252b48 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -600,6 +600,7 @@ proc loadDynamicLib(m: BModule, lib: PLib) =
             [loadlib, getStrLit(m, lib.path.strVal)]) 
     else:
       var p = newProc(nil, m)
+      p.options = p.options - {optStackTrace, optEndb}
       var dest: TLoc
       initLocExpr(p, lib.path, dest)
       app(m.s[cfsVars], p.s(cpsLocals))