Skip to content

Commit ef70094

Browse files
committed
Fix error message
1 parent d46703b commit ef70094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rcc_semantic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4572,7 +4572,7 @@ void c_do_struct_field(rcc_ctx *rcc, c_value *v, c_name field_name)
45724572
field = c_find_struct_field(v->type, field_name, &offset);
45734573
if (!field) {
45744574
if (v->type->record.tag) {
4575-
yy_error_fmt("\"%s %s\" hasu.operand no member named \"%s\"",
4575+
yy_error_fmt("\"%s %s\" has no member named \"%s\"",
45764576
(v->type->kind == C_TYPE_STRUCT) ? "struct" : "union",
45774577
yy_sym2str(rcc, v->type->record.tag),
45784578
yy_sym2str(rcc, field_name));

0 commit comments

Comments
 (0)