mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 10:52:22 -07:00
Correct procedure checking flag handling, and correct the (bodge) handle of unchecked procedure bodies
This commit is contained in:
@@ -2189,6 +2189,9 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
|
||||
}
|
||||
entity->parent_proc_decl = ctx->curr_proc_decl;
|
||||
entities[entity_count++] = entity;
|
||||
if (name->kind == Ast_Ident) {
|
||||
name->Ident.entity = entity;
|
||||
}
|
||||
}
|
||||
|
||||
if (new_name_count == 0) {
|
||||
|
||||
Reference in New Issue
Block a user