trial: unblock the DOS build (local only, not for merge)

This commit is contained in:
2026-08-16 23:02:43 +09:00
parent 63bc8e8724
commit 7a25447281
6 changed files with 17 additions and 2 deletions
+1
View File
@@ -811,6 +811,7 @@ static FeType *check_index(FeCheckerState *s, FeNode *n)
static FeType *check_identifier(FeCheckerState *s, FeNode *n, int read)
{
FeSym *sym;
(void)read; /* TRIAL PATCH: silence W303 under the check_m7.c wrapper */
sym = find_symbol(s->scope, n->text ? n->text : "");
if (!sym) {
FeType *named=fe_type_intern(&s->c->types,n->text ? n->text : "");
+2
View File
@@ -98,6 +98,7 @@ static FeType *m7_check_expected(FeCheckerState *s, FeNode *value,
return actual;
}
/* TRIAL PATCH: m7_error_same was dead (W202); removed for this run.
static int m7_error_same(FeCheckerState *s, FeType *a, FeType *b)
{
FeType *ea;
@@ -108,6 +109,7 @@ static int m7_error_same(FeCheckerState *s, FeType *a, FeType *b)
eb=fe_m7_error_type(&s->c->types,b);
return ea && eb && fe_type_equal(ea,eb);
}
*/
static FeType *m7_member_field(FeCheckerState *s, FeNode *n, FeType *base)
{