'.emit' pragma produces a trailing newline

This commit is contained in:
Araq
2014-10-25 01:51:33 +02:00
parent d72818e3a3
commit 134311c7e0

View File

@@ -921,6 +921,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope =
app(result, x)
app(result, "\\n\"\n")
else:
res.add(tnl)
result = res.toRope
proc genAsmStmt(p: BProc, t: PNode) =