aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-07-30 00:09:30 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-07-30 00:17:13 +0100
commit776dc0e8f1aa506ae0096c78ff10565e56c175e7 (patch)
tree946508a869196a3bf1d005e0ddffd182a1786a1d /src/exact_value.cpp
parent32ab8fcf99df786c264ca566799b022c66cca34b (diff)
Restart LLVM IR SSA generation
This is the third go and I'm going for it!
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index 52094cfed..f9a069c73 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -179,7 +179,7 @@ ExactValue exact_unary_operator_value(Token op, ExactValue v, i32 precision) {
}
failure:
- GB_PANIC("Invalid unary operation, %s", token_kind_to_string(op.kind));
+ GB_PANIC("Invalid unary operation, %.*s", LIT(token_strings[op.kind]));
ExactValue error_value = {};
return error_value;