mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of $checks.
This commit is contained in:
@@ -8040,7 +8040,7 @@ static inline Expr *sema_check_exprlist(SemaContext *context, Expr *exprlist)
|
||||
global_context.suppress_errors = true;
|
||||
SCOPE_START_WITH_FLAGS(SCOPE_CHECKS);
|
||||
FOREACH_BEGIN(Expr *expr, exprlist->expression_list)
|
||||
if (!sema_analyse_cond_expr(context, expr))
|
||||
if (!sema_analyse_expr(context, expr))
|
||||
{
|
||||
failed = expr;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user