'.emit' pragma produces a trailing newline
This commit is contained in:
parent
d72818e3a3
commit
134311c7e0
1 changed files with 1 additions and 0 deletions
|
|
@ -921,6 +921,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope =
|
||||||
app(result, x)
|
app(result, x)
|
||||||
app(result, "\\n\"\n")
|
app(result, "\\n\"\n")
|
||||||
else:
|
else:
|
||||||
|
res.add(tnl)
|
||||||
result = res.toRope
|
result = res.toRope
|
||||||
|
|
||||||
proc genAsmStmt(p: BProc, t: PNode) =
|
proc genAsmStmt(p: BProc, t: PNode) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue