formats introduced in lint

This commit is contained in:
dick
1988-10-12 16:05:17 +00:00
parent ac21f8d98a
commit e66f3adc06
13 changed files with 325 additions and 166 deletions

View File

@@ -462,6 +462,10 @@ is_ld_cst(expr)
/* An expression is a `load-time constant' if it is of the form
<idf> +/- <integral> or <integral>.
*/
#ifdef LINT
if (expr->ex_class == String)
return 1;
#endif LINT
return expr->ex_lvalue == 0 && expr->ex_class == Value;
}