Fixed renderer for asm node in JS

This commit is contained in:
yglukhov 2015-05-28 10:23:09 +03:00
commit eec76cfc6b

View file

@ -767,6 +767,7 @@ proc gasm(g: var TSrcGen, n: PNode) =
putWithSpace(g, tkAsm, "asm") putWithSpace(g, tkAsm, "asm")
gsub(g, n.sons[0]) gsub(g, n.sons[0])
gcoms(g) gcoms(g)
if n.sons.len > 1:
gsub(g, n.sons[1]) gsub(g, n.sons[1])
proc gident(g: var TSrcGen, n: PNode) = proc gident(g: var TSrcGen, n: PNode) =