make tmissingbracket compile for C++; refs #7870
This commit is contained in:
parent
1ec5c6fdf5
commit
b3d80dac9c
1 changed files with 1 additions and 1 deletions
|
|
@ -741,7 +741,7 @@ proc genAddr(p: BProc, e: PNode, d: var TLoc) =
|
||||||
initLocExpr(p, e.sons[0], a)
|
initLocExpr(p, e.sons[0], a)
|
||||||
putIntoDest(p, d, e, "&" & a.r, a.storage)
|
putIntoDest(p, d, e, "&" & a.r, a.storage)
|
||||||
#Message(e.info, warnUser, "HERE NEW &")
|
#Message(e.info, warnUser, "HERE NEW &")
|
||||||
elif mapType(p.config, e.sons[0].typ) == ctArray or isCppRef(p, e.sons[0].typ):
|
elif mapType(p.config, e.sons[0].typ) == ctArray or isCppRef(p, e.typ):
|
||||||
expr(p, e.sons[0], d)
|
expr(p, e.sons[0], d)
|
||||||
else:
|
else:
|
||||||
var a: TLoc
|
var a: TLoc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue