mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
Merge pull request #2829 from yglukhov/js-asm-renderer
Fixed renderer for asm node in JS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user