Merge pull request #2829 from yglukhov/js-asm-renderer
Fixed renderer for asm node in JS
This commit is contained in:
commit
852987c880
1 changed files with 2 additions and 1 deletions
|
|
@ -767,7 +767,8 @@ proc gasm(g: var TSrcGen, n: PNode) =
|
|||
putWithSpace(g, tkAsm, "asm")
|
||||
gsub(g, n.sons[0])
|
||||
gcoms(g)
|
||||
gsub(g, n.sons[1])
|
||||
if n.sons.len > 1:
|
||||
gsub(g, n.sons[1])
|
||||
|
||||
proc gident(g: var TSrcGen, n: PNode) =
|
||||
if g.checkAnon and n.kind == nkSym and sfAnon in n.sym.flags: return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue