[sv-bc] RE: C-standard

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Feb 14 2006 - 01:10:24 PST
From the web page at http://www.open-std.org/jtc1/sc22/wg14/,
it appears that the most up to date document on C is at
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf.

I don't know whether there are any substantive differences between them.

Shalom

> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On
> Behalf Of Greg Jaxon
> Sent: Tuesday, February 14, 2006 1:04 AM
> To: sv-bc@eda.org
> Subject: Re: [sv-bc] white space at the end of macro text
> 
> Steven Sharp wrote:
> > Since SystemVerilog (i.e. IEEE Std 1800) has added quote-
> creation and
> > token-pasting operations, it needs to specify the white space
> treatment
> > for macro expansion more precisely.
> 
> The ANSI C preprocessor is an example standard worth reviewing
> as these
> SV features are clarified.  X3J11's working drafts are
> available online at:
> http://std.dkuug.dk/JTC1/SC22/WG14/www/docs/n843.pdf
> 
> Relevant sections are: 5.1.1.2
>                         6.4
>                         6.10.3
> 
> It appears that leading and trailing whitespace is trimmed from
> preprocessor token sequences.  Treatment of embedded whitespace
> is not standardized except that /*comments*/ turn into a single
> space.  So, in conforming programs, string literals produced
> by the preprocessor are not character-for-character portable.
> 
> Greg Jaxon
Received on Tue, 14 Feb 2006 11:10:24 +0200

This archive was generated by hypermail 2.1.8 : Tue Feb 14 2006 - 01:12:13 PST