fixes #3992
This commit is contained in:
parent
ac1a753aff
commit
1ae95310ad
1 changed files with 2 additions and 0 deletions
|
|
@ -961,6 +961,8 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): Rope =
|
|||
var a: TLoc
|
||||
initLocExpr(p, t.sons[i], a)
|
||||
res.add($rdLoc(a))
|
||||
elif sym.kind == skType:
|
||||
res.add($getTypeDesc(p.module, sym.typ))
|
||||
else:
|
||||
var r = sym.loc.r
|
||||
if r == nil:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue