built in the compile time flag NOFLOAT to get rid of the float stuff

This commit is contained in:
erikb
1986-09-12 09:16:07 +00:00
parent b6dde9472f
commit c6a51a39f0
25 changed files with 150 additions and 26 deletions

View File

@@ -52,15 +52,19 @@ do_decspecs(ds)
case SHORT:
if (tp == int_type)
tp = short_type;
else error("short with illegal type");
else
error("short with illegal type");
break;
case LONG:
if (tp == int_type)
tp = long_type;
else
#ifndef NOFLOAT
if (tp == float_type)
tp = double_type;
else error("long with illegal type");
else
#endif NOFLOAT
error("long with illegal type");
break;
}
if (ds->ds_unsigned) {