aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-13 16:20:07 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-13 16:20:07 +0100
commitb8697fb4ed34d0da0fa0888b57e6edcc37a0ce81 (patch)
treefe3dd4008b6878b1b0b5015131e9a35129845123 /src/ir_print.cpp
parent03570275c1cfd14014d81bcdf085c320c1902c40 (diff)
Change precedence order for types e.g. ^T(x) == ^(T(x))
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index bad0e6eca..7bd79fe2e 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1580,8 +1580,7 @@ void ir_print_proc(irFileBuffer *f, irModule *m, irProcedure *proc) {
ir_fprintf(f, " noalias");
}
if (proc->body != nullptr) {
- if (e->token.string != "" &&
- e->token.string != "_") {
+ if (e->token.string != "" && !is_blank_ident(e->token)) {
ir_fprintf(f, " ");
ir_print_encoded_local(f, e->token.string);
} else {