mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
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