fix previous fix

This commit is contained in:
ceriel 1990-06-11 15:17:50 +00:00
parent f234f061a1
commit 39fee04619
2 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@
extern char *symbol2str();
extern char *sprint();
extern arith flt2arith();
extern arith flt_flt2arith();
STATIC int
df_error(nd, mess, edf)

View file

@ -726,8 +726,8 @@ RemoveEqual(tpx)
}
int
type_or_forward(ptp)
t_type **ptp;
type_or_forward(tp)
t_type *tp;
{
/* POINTER TO IDENTIFIER construction. The IDENTIFIER resides
in "dot". This routine handles the different cases.
@ -748,7 +748,7 @@ type_or_forward(ptp)
case D_FORWTYPE:
nd = dot2node(0, NULLNODE, df1->df_forw_node);
df1->df_forw_node = nd;
nd->nd_type = *ptp;
nd->nd_type = tp;
return 0;
default:
return 1;
@ -777,7 +777,7 @@ type_or_forward(ptp)
df = define(nd->nd_IDF, CurrentScope, D_FORWTYPE);
assert(df->df_kind == D_FORWTYPE);
df->df_flags |= D_USED | D_DEFINED;
nd->nd_type = *ptp;
nd->nd_type = tp;
df->df_forw_node = nd;
if (df != df1 && (df1->df_kind & (D_TYPE | D_FORWTYPE))) {
/* "df1" refers to a possible identification, but