some small corrections in the lint part

This commit is contained in:
dick
1989-10-10 11:21:55 +00:00
parent 70db8e4c85
commit a947b16247
5 changed files with 18 additions and 8 deletions

View File

@@ -51,8 +51,10 @@ do_decspecs(ds)
*/
/* some adjustments as described in RM 8.2 */
if (tp == 0) {
if (tp == 0 && ds->ds_size == 0 && ds->ds_unsigned == 0) {
ds->ds_notypegiven = 1;
}
if (tp == 0) {
tp = int_type;
}
switch (ds->ds_size) {