This commit is contained in:
Araq 2014-11-21 02:26:49 +01:00
commit 326bdae8ca
6 changed files with 61 additions and 16 deletions

View file

@ -310,7 +310,7 @@ proc rdLoc(a: TLoc): PRope =
proc addrLoc(a: TLoc): PRope =
result = a.r
if lfIndirect notin a.flags and mapType(a.t) != ctArray:
result = con("&", result)
result = con("(&", result).con(")")
proc rdCharLoc(a: TLoc): PRope =
# read a location that may need a char-cast: