mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Top level $if now uses $if: / $endif; Fix of boolean globals. Fix of $else: clause. Fix of $assert inside of $if
This commit is contained in:
committed by
Christoffer Lerno
parent
321ee81c9d
commit
9572c4afc9
@@ -1310,6 +1310,7 @@ bool sema_analyse_decl(Context *context, Decl *decl)
|
||||
case DECL_CT_SWITCH:
|
||||
case DECL_CT_CASE:
|
||||
case DECL_CT_IF:
|
||||
case DECL_CT_ASSERT:
|
||||
UNREACHABLE
|
||||
}
|
||||
decl->resolve_status = RESOLVE_DONE;
|
||||
|
||||
Reference in New Issue
Block a user