ignore qualifiers when looking for sdef
authoreck <none@none>
Tue, 30 Jan 1990 11:19:30 +0000 (11:19 +0000)
committereck <none@none>
Tue, 30 Jan 1990 11:19:30 +0000 (11:19 +0000)
lang/cem/cemcom.ansi/struct.c

index 2aac4a0..b7e5c00 100644 (file)
@@ -266,7 +266,7 @@ idf2sdef(idf, tp)
        
        /* Follow chain from idf, to meet tp. */
        while ((sdef = *sdefp)) {
-               if (equal_type(sdef->sd_stype, tp, 0))
+               if (equal_type(sdef->sd_stype, tp, -999))       /* ??? hack */
                        return sdef;
                sdefp = &(*sdefp)->next;
        }