summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-05 21:40:17 +0200
committerAraq <rumpf_a@web.de>2014-08-05 21:40:17 +0200
commit55250b3f36f403d0a8baf49c8d30e2290105d2b1 (patch)
treec2d739b05b816c92112228f58cf26e32db1c048f
parent3df553ef25699d975320eb6815f0a1492261b5b2 (diff)
downloadNim-55250b3f36f403d0a8baf49c8d30e2290105d2b1.tar.gz
added debug output (but not active)
-rw-r--r--compiler/ccgexprs.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index d5b2ad33d..ff262f1a6 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -1909,6 +1909,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
     of skVar, skForVar, skResult, skLet:
       if sfGlobal in sym.flags: genVarPrototype(p.module, sym)
       if sym.loc.r == nil or sym.loc.t == nil:
+        #echo "FAILED FOR PRCO ", p.prc.name.s
         internalError n.info, "expr: var not init " & sym.name.s & "_" & $sym.id
       if sfThread in sym.flags:
         accessThreadLocalVar(p, sym)