aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-23 14:59:58 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-23 14:59:58 +0100
commita31bab5aae10757f5029b00e39beb0e3815b92b1 (patch)
treeb7d2f888cc553f4d6e4b47ff1470c303c5d05c7e /src/exact_value.cpp
parentee0aa7b9de907e70e00ca3ab891087c2ee86a31b (diff)
Unicode file loading; push_allocator & push_context
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index 7e0292a09..e120bff7a 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -190,7 +190,7 @@ ExactValue exact_unary_operator_value(Token op, ExactValue v, i32 precision) {
}
failure:
- compiler_error("Invalid unary operation, %.*s", LIT(token_strings[op.kind]));
+ GB_PANIC("Invalid unary operation, %.*s", LIT(token_strings[op.kind]));
ExactValue error_value = {};
return error_value;
@@ -212,7 +212,7 @@ i32 exact_value_order(ExactValue v) {
return 4;
default:
- compiler_error("How'd you get here? Invalid Value.kind");
+ GB_PANIC("How'd you get here? Invalid Value.kind");
return -1;
}
}