fixed some minor problems
This commit is contained in:
parent
867232a244
commit
6e5f3632c6
3 changed files with 4 additions and 2 deletions
|
@ -560,7 +560,7 @@ noscale:
|
||||||
|
|
||||||
if (np >= &buf[NUMSIZE]) {
|
if (np >= &buf[NUMSIZE]) {
|
||||||
tk->TOK_REL = Salloc("0.0", 5);
|
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;
|
else tk->TOK_REL = Salloc(buf, (unsigned) (np - buf)) + 1;
|
||||||
return tk->tk_symb = REAL;
|
return tk->tk_symb = REAL;
|
||||||
|
|
|
@ -270,7 +270,6 @@ DeclProc(type, id)
|
||||||
/* C_exp already generated when we saw the definition
|
/* C_exp already generated when we saw the definition
|
||||||
in the definition module
|
in the definition module
|
||||||
*/
|
*/
|
||||||
df->df_kind = D_PROCEDURE;
|
|
||||||
name = df->for_name;
|
name = df->for_name;
|
||||||
DefInFront(df);
|
DefInFront(df);
|
||||||
}
|
}
|
||||||
|
@ -380,6 +379,7 @@ CheckWithDef(df, tp)
|
||||||
df->df_idf->id_text);
|
df->df_idf->id_text);
|
||||||
}
|
}
|
||||||
FreeType(df->df_type);
|
FreeType(df->df_type);
|
||||||
|
df->df_kind = D_PROCEDURE;
|
||||||
}
|
}
|
||||||
df->df_type = tp;
|
df->df_type = tp;
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,6 +217,8 @@ TstParCompat(parno, formaltype, VARflag, nd, edf)
|
||||||
( !VARflag
|
( !VARflag
|
||||||
&&
|
&&
|
||||||
actualtype->tp_size <= word_size
|
actualtype->tp_size <= word_size
|
||||||
|
&&
|
||||||
|
! IsConformantArray(actualtype)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue