asm stmt: don't quote what is already quoted
This commit is contained in:
parent
bd7681f794
commit
d4786976dd
1 changed files with 1 additions and 1 deletions
|
|
@ -931,7 +931,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope =
|
||||||
for x in splitLines(res):
|
for x in splitLines(res):
|
||||||
var j = 0
|
var j = 0
|
||||||
while x[j] in {' ', '\t'}: inc(j)
|
while x[j] in {' ', '\t'}: inc(j)
|
||||||
if x[j] == ':':
|
if x[j] in {'"', ':'}:
|
||||||
# some clobber register list:
|
# some clobber register list:
|
||||||
app(result, x); app(result, tnl)
|
app(result, x); app(result, tnl)
|
||||||
elif x[j] != '\0':
|
elif x[j] != '\0':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue