unknown-sized locals retain their type

This commit is contained in:
erikb 1986-08-26 10:30:39 +00:00
parent 196cc676d9
commit a601e0a542

View File

@ -335,7 +335,7 @@ declare_idf(ds, dc, lvl)
if (type->tp_size == (arith)-1) {
error("size of local %s unknown",
idf->id_text);
type = idf->id_def->df_type = int_type;
/** type = idf->id_def->df_type = int_type; **/
}
idf->id_def->df_register =
(sc == REGISTER)