From -4446391063871447087
X-Google-Thread: f78e5,6978327f896d5d5b
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Path: g2news1.google.com!news1.google.com!news.glorb.com!cyclone.bc.net!news.alt.net!comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Delivered-To: std-c++@ucar.edu
X-Authentication-Warning: serv3.gc.dca.giganews.com: news set sender to poster@giganews.com using -f
NNTP-Posting-Date: Mon, 28 Jun 2004 19:53:50 -0500
From: "Paul Mensonides" <leavings@comcast.net>
References: <607f883e.0406251028.5412fc80@posting.google.com> <PDUseaDh1V3AFwzm@robinton.demon.co.uk> <barmar-AEE035.22095526062004@comcast.dca.giganews.com> <Bt9PFkEEEq3AFwhq@robinton.demon.co.uk> <2VIDc.8800$DT5.5297@nwrddc03.gnilink.net> <X0YaTxJvHA4AFwbF@robinton.demon.co.uk>
Subject: Re: What is the use of the null directive # ?
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <7ZednQfP8PsCIH3dRVn-uA@comcast.com>
X-Trace: sv3-zuaGSprE9YzIadvJsJvzqJ6t1XtPqvjNluL0965gFXJmQQyLic2dA2YvxKGJErhasMMcmskCz9tjuAz!rnzn6+QB6VVCvRoxUnAWfrkWAYKz24zOWSTxtN5kIY+Jxf6Bv62rASg/yshnPQ==
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Newsgroups: comp.std.c++
X-Spamscanner: mailbox5.ucsd.edu  (v1.4 May 20 2004 13:55:33, 0.7/5.0 2.63)
X-MailScanner: PASSED (v1.2.8 50882 i5T0rphl062876 mailbox5.ucsd.edu)
X-Spam-Checker-Version: SpamAssassin 2.60-mulga_r1 (1.212-2003-09-23-exp) on 
	mulga.cs.mu.OZ.AU
X-Spam-Status: No, hits=-4.2 required=5.2 tests=BAYES_00,PRIORITY_NO_NAME 
	autolearn=no version=2.60-mulga_r1
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Date: Tue, 29 Jun 2004 16:43:45 CST
Lines: 36
Xref: g2news1.google.com comp.std.c++:1068

"Francis Glassborow" <francis@robinton.demon.co.uk> wrote in message
news:X0YaTxJvHA4AFwbF@robinton.demon.co.uk...
> In article <2VIDc.8800$DT5.5297@nwrddc03.gnilink.net>, P.J. Plauger
> <pjp@dinkumware.com> writes
> >I have trouble reading it that way. Where in the grammar
> >
> >:       # new-line
> >
> >is there wiggle room to add the word 'packed', or any other
> >non-whitespace thingy?
>
> You are right. I completely misread the sub-clause. Which actually says
> that an empty preprocessor directive does nothing. That may seem obvious
> to some but most of us here know that such things have to be specified
> else they invoke undefined behaviour.
>
> My apologies for carelessly misreading (i.e. not noting the use of font
> in the quoted text)

You aren't too far off, Francis.  The C99 standard introduces another production

# non-directive

which covers any case like #packed where the name after # is not a standard
directive name.

Regards,
Paul Mensonides


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



