diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index a3bf4d3bb4..fbbd6a86a6 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -930,8 +930,8 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope = if isAsmStmt and hasGnuAsm in CC[cCompiler].props: for x in splitLines(res): var j = 0 - while x[j] in {' ', '\t', ':'}: inc(j) - if x[j] == '"': + while x[j] in {' ', '\t'}: inc(j) + if x[j] == ':': # some clobber register list: app(result, x); app(result, tnl) elif x[j] != '\0':