lint: printf testing and FORMATs

This commit is contained in:
dick
1988-11-03 15:18:46 +00:00
parent 7267917050
commit 4ed20925c6
9 changed files with 107 additions and 32 deletions

View File

@@ -36,13 +36,8 @@ static struct expr_state *lint_oper();
lint_init()
{
/* Allocate some memory for the global stack_bottom
* and some other initializations
*/
extern struct lint_stack_entry stack_bottom;
stack_bottom.ls_current = new_state();
lint_init_comment();
lint_init_stack();
}
pre_lint_expr(expr, val, used)
@@ -357,7 +352,7 @@ expr_ignored(expr)
break;
case Value:
hwarning("identifier as statement");
hwarning("value as statement");
break;
default: /* String Float */