mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-08 22:01:47 -04:00
Add intrinsics.c_var_*
This commit is contained in:
1 parent
bb291cfcd0
commit
7b97530443
8 files changed
+282
-9
No files matched your search
+3
-3
@@ -1556,9 +1556,9 @@ gb_internal void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
|
||||
if (is_foreign) {
|
||||
error(pl->body, "A foreign procedure cannot have a body");
|
||||
}
|
||||
if (proc_type->Proc.c_vararg) {
|
||||
error(pl->body, "A procedure with a '#c_vararg' field cannot have a body and must be foreign");
|
||||
}
|
||||
// if (proc_type->Proc.c_vararg) {
|
||||
// error(pl->body, "A procedure with a '#c_vararg' field cannot have a body and must be foreign");
|
||||
// }
|
||||
|
||||
d->scope = ctx->scope;
|
||||
|
||||
|
||||
Reference in new issue
Block a user