mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
Minor fix
This commit is contained in:
+3
-3
@@ -1371,10 +1371,10 @@ void add_entity_and_decl_info(CheckerContext *c, Ast *identifier, Entity *e, Dec
|
|||||||
isize queue_count = -1;
|
isize queue_count = -1;
|
||||||
bool is_lazy = false;
|
bool is_lazy = false;
|
||||||
|
|
||||||
// is_lazy = (e->flags & EntityFlag_Lazy) == EntityFlag_Lazy;
|
is_lazy = (e->flags & EntityFlag_Lazy) == EntityFlag_Lazy;
|
||||||
// if (!is_lazy) {
|
if (!is_lazy) {
|
||||||
queue_count = mpmc_enqueue(&info->entity_queue, e);
|
queue_count = mpmc_enqueue(&info->entity_queue, e);
|
||||||
// }
|
}
|
||||||
|
|
||||||
if (e->token.pos.file_id != 0) {
|
if (e->token.pos.file_id != 0) {
|
||||||
e->order_in_src = cast(u64)(e->token.pos.file_id)<<32 | u32(e->token.pos.offset);
|
e->order_in_src = cast(u64)(e->token.pos.file_id)<<32 | u32(e->token.pos.offset);
|
||||||
|
|||||||
Reference in New Issue
Block a user