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

@@ -49,10 +49,12 @@ code_startswitch(expp)
warning("long in switch (cast to int)");
int2int(expp, int_type);
break;
#ifndef NOFLOAT
case DOUBLE:
error("float/double in switch");
erroneous2int(expp);
break;
#endif NOFLOAT
}
stack_stmt(l_break, NO_LABEL);