diff options
| author | gingerBill <bill@gingerbill.org> | 2023-02-22 11:48:10 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-02-22 11:48:10 +0000 |
| commit | 090e30f07b10a79edf38736cc466a4f223167971 (patch) | |
| tree | ce4c3957789661066ef0acee1ca01a0ef1a79f84 /src/exact_value.cpp | |
| parent | f5d507a9b9d20941bd86ba8559f710f21f0c8ccd (diff) | |
Make `-verbose-errors` the default; `-terse-errors` to disable it
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index fc4ae2155..1ab50800d 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -578,9 +578,7 @@ gb_internal ExactValue exact_unary_operator_value(TokenKind op, ExactValue v, i3 } } -failure: - GB_PANIC("Invalid unary operation, %.*s", LIT(token_strings[op])); - +failure:; ExactValue error_value = {}; return error_value; } |