better compatibility between CARDINAL and ADDRESS

This commit is contained in:
ceriel
1986-07-10 16:27:26 +00:00
parent 965e75761d
commit 832bdeb3be
6 changed files with 84 additions and 78 deletions

View File

@@ -341,7 +341,7 @@ FieldList(struct scope *scope; arith *cnt; int *palign;)
the type
*/
{ warning("Old fashioned Modula-2 syntax!");
if (chk_designator(nd) &&
if (ChkDesignator(nd) &&
(nd->nd_class != Def ||
!(nd->nd_def->df_kind&(D_ERROR|D_ISTYPE)) ||
!nd->nd_def->df_type)) {