[TUHS] C entry keyword

Lars Brinkhoff lars at nocrew.org
Tue Oct 30 18:51:59 AEST 2018


Steve Simon wrote:
> “entry” was a reserved word in K&R Ed.1,
> my personal favourite C trivia. I have never seen it used outside
> fortran on mainframes though.

It's there in Snyder's C compiler, but not used.  From the grammar:

    statement:
    ...
        | ENTRY identifier ':' statement       {val=aentry(#2,#4);}

But the supporting code in the compiler:

    aentry (idn, stmt)
        {return (stmt);}    /* not implemented */



More information about the TUHS mailing list