fixes stupid regression

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

View file

@ -2084,7 +2084,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
if n.sons[0].kind != nkEmpty: if n.sons[0].kind != nkEmpty:
genLineDir(p, n) genLineDir(p, n)
var a: TLoc var a: TLoc
initLocExprSingleUse(p, n.sons[0], a) initLocExpr(p, n.sons[0], a)
of nkAsmStmt: genAsmStmt(p, n) of nkAsmStmt: genAsmStmt(p, n)
of nkTryStmt: of nkTryStmt:
if p.module.compileToCpp: genTryCpp(p, n, d) if p.module.compileToCpp: genTryCpp(p, n, d)