parent
8211d38569
commit
9746868832
1 changed files with 1 additions and 1 deletions
|
|
@ -1689,7 +1689,7 @@ proc createVar(p: PProc, typ: PType, indirect: bool): Rope =
|
||||||
of tyObject:
|
of tyObject:
|
||||||
var initList: Rope
|
var initList: Rope
|
||||||
createObjInitList(p, t, initIntSet(), initList)
|
createObjInitList(p, t, initIntSet(), initList)
|
||||||
result = ("{$1}") % [initList]
|
result = ("({$1})") % [initList]
|
||||||
if indirect: result = "[$1]" % [result]
|
if indirect: result = "[$1]" % [result]
|
||||||
of tyVar, tyPtr, tyLent, tyRef, tyPointer:
|
of tyVar, tyPtr, tyLent, tyRef, tyPointer:
|
||||||
if mapType(p, t) == etyBaseIndex:
|
if mapType(p, t) == etyBaseIndex:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue