summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-02-03 23:16:58 +0100
committerAraq <rumpf_a@web.de>2015-02-04 00:52:46 +0100
commita0d3bd16e73c98840c65ab890064e1aa750b7060 (patch)
treef3e434339ae1380706072528a3b3bcdd2dadd264 /compiler
parente75e4219121e9120edc4c53eef6af46de9c6eb50 (diff)
downloadNim-a0d3bd16e73c98840c65ab890064e1aa750b7060.tar.gz
fixes stupid regression
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index e0261f92c..bd116d6fb 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -2084,7 +2084,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
     if n.sons[0].kind != nkEmpty:
       genLineDir(p, n)
       var a: TLoc
-      initLocExprSingleUse(p, n.sons[0], a)
+      initLocExpr(p, n.sons[0], a)
   of nkAsmStmt: genAsmStmt(p, n)
   of nkTryStmt:
     if p.module.compileToCpp: genTryCpp(p, n, d)