fixes stupid regression

This commit is contained in:
Araq
2015-02-03 23:16:58 +01:00
parent e75e421912
commit a0d3bd16e7

View File

@@ -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)