fixed some minor problems

This commit is contained in:
ceriel 1987-11-03 12:44:09 +00:00
parent 867232a244
commit 6e5f3632c6
3 changed files with 4 additions and 2 deletions

View file

@ -560,7 +560,7 @@ noscale:
if (np >= &buf[NUMSIZE]) {
tk->TOK_REL = Salloc("0.0", 5);
lexerror("floating constant too long");
lexerror("real constant too long");
}
else tk->TOK_REL = Salloc(buf, (unsigned) (np - buf)) + 1;
return tk->tk_symb = REAL;

View file

@ -270,7 +270,6 @@ DeclProc(type, id)
/* C_exp already generated when we saw the definition
in the definition module
*/
df->df_kind = D_PROCEDURE;
name = df->for_name;
DefInFront(df);
}
@ -380,6 +379,7 @@ CheckWithDef(df, tp)
df->df_idf->id_text);
}
FreeType(df->df_type);
df->df_kind = D_PROCEDURE;
}
df->df_type = tp;
}

View file

@ -217,6 +217,8 @@ TstParCompat(parno, formaltype, VARflag, nd, edf)
( !VARflag
&&
actualtype->tp_size <= word_size
&&
! IsConformantArray(actualtype)
)
)
)