many little changes: removed some lint complaints; max_int and max_unsigned

are now constants if NOCROSS is defined; added lexstrict and expr_strict,
and changed calls where needed
This commit is contained in:
ceriel
1989-11-08 16:52:34 +00:00
parent 636c151d51
commit 67f9f2a74f
26 changed files with 164 additions and 141 deletions

View File

@@ -623,10 +623,10 @@ check_formals(idf, dc)
error("incorrect number of parameters");
}
} else { /* make a pseudo-prototype */
register struct proto *lpl;
register struct proto *lpl = new_proto();
while (fm) {
if (pl == 0) pl = lpl = new_proto();
if (pl == 0) pl = lpl;
else {
lpl->next = new_proto();
lpl = lpl->next;
@@ -638,7 +638,7 @@ check_formals(idf, dc)
fm = fm->next;
}
if (pl == 0) { /* make func(void) */
pl = new_proto();
pl = lpl;
pl->pl_type = void_type;
pl->pl_flag = PL_VOID;
}