asm stmt: don't quote what is already quoted

This commit is contained in:
Araq
2015-01-29 10:18:52 +01:00
parent bd7681f794
commit d4786976dd

View File

@@ -931,7 +931,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope =
for x in splitLines(res):
var j = 0
while x[j] in {' ', '\t'}: inc(j)
if x[j] == ':':
if x[j] in {'"', ':'}:
# some clobber register list:
app(result, x); app(result, tnl)
elif x[j] != '\0':