Fix typo in ? array lengths error

This commit is contained in:
gingerBill
2019-08-13 22:34:02 +01:00
parent 0076a4df62
commit 0a63690b39
+1 -1
View File
@@ -2548,7 +2548,7 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t
generic_type = o.type;
}
if (count < 0) {
error(at->count, "... can only be used in conjuction with compound literals");
error(at->count, "? can only be used in conjuction with compound literals");
count = 0;
}
Type *elem = check_type_expr(ctx, at->elem, nullptr);