Replace a lot of warnings with errors; remove deprecated stuff

This commit is contained in:
gingerBill
2023-08-01 11:11:15 +01:00
parent c35c58b023
commit 69e1f42aed
6 changed files with 8 additions and 39 deletions

View File

@@ -1406,7 +1406,7 @@ gb_internal bool check_builtin_procedure_directive(CheckerContext *c, Operand *o
}
return false;
} else if (name == "load_or") {
warning(call, "'#load_or' is deprecated in favour of '#load(path) or_else default'");
error(call, "'#load_or' has now been removed in favour of '#load(path) or_else default'");
if (ce->args.count != 2) {
if (ce->args.count == 0) {