[net.lang.c] The "entry" keyword

arnold@gatech.UUCP (01/23/84)

	I quote from K&R, page 180, Reference Manual section 2.3, KEYWORDS
(*'s indicate boldface):

	The following identifers are reserved for use as keywords, and may
not be used otherwise:

	(... C reserved words, including the identifier "entry")

	The *entry* keyword is not currently implemented by any compiler but
is reserved for future use.  Some implementations also reserve the words
*fortran* and *asm*.

end quote.

	My question is this: Is "entry" still reserved?  According to the
System V documentation, it is.  BUT, the source for the System V routine
hsearch(3) uses "entry" as a structure tag (i.e. a normal identifier), and
neither that compiler nor the 4.1BSD compiler complains in the least
(neither did the System IV compiler, which is where hsearch came from
originally.  [Yes I have actually worked on a system running Unix 4.0]).

	So, howcum?  If "entry" is no longer reserved, the documentation
should say so.  If it still is, the compiler(s) should complain.  I find it
hard to believe that this has gone totally unnoticed by anybody!

	I found this when trying to port hsearch to a locally written compiler
for Pr1me computers.  That compiler follows K&R, and naturally died miserably
when it hit the "entry" used as an identifier.  (It's recursive-descent to
boot, which makes life even more fun [sigh].)

	Thanks in advance,

		Arnold Robbins
-- 
Arnold Robbins
CSNET: arnold@gatech		ARPA: arnold.gatech@CSNet-relay
UUCP:	...!{akgua,allegra,rlgvax,sb1,unmvax,ulysses,ut-sally}!gatech!arnold