summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-02-21 22:28:24 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-04-29 08:20:08 +0200
commit4ce41d3068e3b57c9f3ee0956b6e4a8e5d9f598f (patch)
treec84ed79cb972e7390ea4d70482e5d53c7ce78cdb /ir/be/beemitter.c
parent94dd895c50855ae5200bf0876ce04f530e829f67 (diff)
be: Handle %{, %| and %} in asm.
Diffstat (limited to 'ir/be/beemitter.c')
-rw-r--r--ir/be/beemitter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/be/beemitter.c b/ir/be/beemitter.c
index 6c550e2..a46d85c 100644
--- a/ir/be/beemitter.c
+++ b/ir/be/beemitter.c
@@ -122,6 +122,9 @@ void be_emit_asm(ir_node const *const asmn, ident *const text, unsigned const n_
++s; /* Skip '%'. */
switch (*s) {
case '%':
+ case '{':
+ case '|':
+ case '}':
be_emit_char(*s++);
break;