This commit is contained in:
gingerBill
2021-05-16 12:46:25 +01:00
parent 9ccdc40f65
commit 385385364b

View File

@@ -1115,6 +1115,7 @@ bool check_cycle(CheckerContext *c, Entity *curr, bool report) {
error(curr->token, "\t%.*s refers to", LIT(curr->token.string));
}
error(curr->token, "\t%.*s", LIT(curr->token.string));
curr->type = t_invalid;
}
return true;
}