unknown-sized locals retain their type
This commit is contained in:
parent
901d1b3af8
commit
e1c67b1fba
|
@ -335,7 +335,7 @@ declare_idf(ds, dc, lvl)
|
||||||
if (type->tp_size == (arith)-1) {
|
if (type->tp_size == (arith)-1) {
|
||||||
error("size of local %s unknown",
|
error("size of local %s unknown",
|
||||||
idf->id_text);
|
idf->id_text);
|
||||||
type = idf->id_def->df_type = int_type;
|
/** type = idf->id_def->df_type = int_type; **/
|
||||||
}
|
}
|
||||||
idf->id_def->df_register =
|
idf->id_def->df_register =
|
||||||
(sc == REGISTER)
|
(sc == REGISTER)
|
||||||
|
|
Loading…
Reference in a new issue