diff options
author | Araq <rumpf_a@web.de> | 2015-01-29 10:11:29 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-01-29 10:11:29 +0100 |
commit | bd7681f79455ece9e72b45cc784f4d10554f8308 (patch) | |
tree | c04205deb46eac5ec2fe39ab54062117aa798191 /compiler | |
parent | 8710a3738470e19e0d05c8e68db0803100caf3d8 (diff) | |
download | Nim-bd7681f79455ece9e72b45cc784f4d10554f8308.tar.gz |
fixes yet another GAS parsing bug
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ccgstmts.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index a3bf4d3bb..fbbd6a86a 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': |