fixes #1907
This commit is contained in:
parent
fffaae06ce
commit
350fbc6aca
1 changed files with 2 additions and 2 deletions
|
|
@ -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] == ':' and x[j+1] == '"' or 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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue