fixed some minor problems
This commit is contained in:
parent
867232a244
commit
6e5f3632c6
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -217,6 +217,8 @@ TstParCompat(parno, formaltype, VARflag, nd, edf)
|
|||
( !VARflag
|
||||
&&
|
||||
actualtype->tp_size <= word_size
|
||||
&&
|
||||
! IsConformantArray(actualtype)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue