mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fixed incorrect format strings when using error_exit. (#2530)
* Fixed incorrect format strings when using `error_exit`.
This commit is contained in:
@@ -2493,7 +2493,7 @@ static void llvm_emit_unary_expr(GenContext *c, BEValue *value, Expr *expr)
|
||||
switch (expr->unary_expr.operator)
|
||||
{
|
||||
case UNARYOP_ERROR:
|
||||
FATAL_ERROR("Illegal unary op %s", expr->unary_expr.operator);
|
||||
FATAL_ERROR("Illegal unary op %d", expr->unary_expr.operator);
|
||||
case UNARYOP_PLUS:
|
||||
// Folded
|
||||
UNREACHABLE_VOID
|
||||
|
||||
Reference in New Issue
Block a user