diff options
author | Araq <rumpf_a@web.de> | 2014-08-05 21:40:17 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-05 21:40:17 +0200 |
commit | 55250b3f36f403d0a8baf49c8d30e2290105d2b1 (patch) | |
tree | c2d739b05b816c92112228f58cf26e32db1c048f | |
parent | 3df553ef25699d975320eb6815f0a1492261b5b2 (diff) | |
download | Nim-55250b3f36f403d0a8baf49c8d30e2290105d2b1.tar.gz |
added debug output (but not active)
-rw-r--r-- | compiler/ccgexprs.nim | 1 |
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) |