Article View: net.bugs
Article #214Re: Bug (?) in C preprocessor
From: Guy Harris
Date: Wed, 30 May 1984 04:34
Date: Wed, 30 May 1984 04:34
16 lines
1190 bytes
1190 bytes
> I have written a C preprocessor that adheres to the most
> recent standard. The standard has these "additions":
> #elif expression
> and
> defined(name) in #if expressions
The former is very nice - I wish it were available in the Reiser "cpp"
that comes with just about every UNIX under the sun. The latter is actually
in the most recent standard, if the S5 man page CPP(1) is considered the
most recent standard (it also documents __FILE__ and __LINE__). The
parentheses are optional (shades of the "return(x)" vs. "return x" debate!)
according to CPP(1).
Guy Harris
{seismo,ihnp4,allegra}!rlgvax!guy
Technical Details
Message-ID:
<1960@rlgvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!decvax!harpo!seismo!rlgvax!guyReferences:
<204@elecvax.SUN> <304@basser.SUN>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 12/4/83; site rlgvax.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.bugs,net.lang.c Subject: Re: Bug (?) in C preprocessor Message-ID: <1960@rlgvax.UUCP> Date: Wed, 30-May-84 00:34:44 EDT Article-I.D.: rlgvax.1960 Posted: Wed May 30 00:34:44 1984 Date-Received: Fri, 1-Jun-84 07:30:59 EDT References: <204@elecvax.SUN> <304@basser.SUN> Organization: CCI Office Systems Group, Reston, VA Lines: 16