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:
Christoffer Lerno
2021-06-24 17:59:29 +02:00
committed by Christoffer Lerno
parent 321ee81c9d
commit 9572c4afc9
21 changed files with 254 additions and 139 deletions

View File

@@ -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;