improved qualifier checking

This commit is contained in:
eck
1989-11-13 14:01:50 +00:00
parent c30769327b
commit 776233c718
3 changed files with 29 additions and 28 deletions

View File

@@ -610,7 +610,7 @@ check_formals(idf, dc)
}
while(fm && pl) {
if (!equal_type(promoted_type(fm->fm_idf->id_def->df_type)
, pl->pl_type, 0)) {
, pl->pl_type, -1)) {
if (!(pl->pl_flag & PL_ERRGIVEN))
error("incorrect type for parameter %s"
, fm->fm_idf->id_text);