NEVILLE%umass-cs.csnet@CSNET-RELAY.ARPA (12/09/85)
From: "Neville D. Newman" <NEVILLE%umass-cs.csnet@CSNET-RELAY.ARPA>
Perry Kivolowitz pointed out that the Lattice C compiler would choke
on code such as
zero_out(entry)
int *entry; {
< ... >
}
because the identifier "entry" was reserved as a keyword. The fact that
that this code would compile on version 6 and 7 Unix systems, and possibly
others, does NOT mean that Lattice adds anything to the language definition.
On the contrary, K & R [Appendix A, sec 2.3, "Keywords"] point out that
"entry" is reserved for future use as a keyword. VAX-11C [section 2.1.6 of
the v1.0 paperback] also points this out. Note that some implementations
go further and reserve "void", "fortran", "asm", etc. Since K&R is usually
recognized as the standard (in the absence of ANSI) it is valid to flame
about "asm" being a keyword, but definitely not "entry".
-neville
neville.UMass@CSnet-relay (ARPA)