Minor text fix

This commit is contained in:
gingerBill
2026-08-17 19:56:03 +01:00
parent c3b2029f64
commit 2738ff640d

View File

@@ -2026,7 +2026,7 @@ gb_internal void check_asm_group_decl(CheckerContext *ctx, Entity *asm_entity, D
e = check_selector(ctx, &o, arg, nullptr);
}
if (e == nullptr) {
error(arg, "Expected a valid entity name in asm group, got %.*s", LIT(ast_strings[arg->kind]));
error(arg, "Expected a valid entity name in asm template group, got %.*s", LIT(ast_strings[arg->kind]));
continue;
}
if (e->kind != Entity_AsmTemplate) {
@@ -2035,7 +2035,7 @@ gb_internal void check_asm_group_decl(CheckerContext *ctx, Entity *asm_entity, D
}
if (ptr_set_update(&entity_set, e)) {
error(arg, "Previous use of `%.*s` in asm group", LIT(e->token.string));
error(arg, "Previous use of `%.*s` in asm template group", LIT(e->token.string));
continue;
}
array_add(&pge->entities, e);