GC stack scanning cares about interior pointers
This commit is contained in:
parent
a26433b6ec
commit
73919e3082
10 changed files with 328 additions and 29 deletions
|
|
@ -1594,7 +1594,7 @@ proc parseSwitch(p: var TParser): PNode =
|
|||
eat(p, pxCurlyRi)
|
||||
|
||||
proc addStmt(sl, a: PNode) =
|
||||
# merge type sections is possible:
|
||||
# merge type sections if possible:
|
||||
if a.kind != nkTypeSection or sonsLen(sl) == 0 or
|
||||
lastSon(sl).kind != nkTypeSection:
|
||||
addSon(sl, a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue