This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proposal
On Thu, Sep 27, 2001 at 04:07:55PM +0200, Frank Klemm wrote:
> On Thu, Sep 27, 2001 at 05:17:40AM -0300, Alexandre Oliva wrote:
> > On Sep 17, 2001, Frank Klemm <pfk@fuchs.offl.uni-jena.de> wrote:
> >
> > > For instance try to convert
> >
> > > #define MILLION MY_MERGE_5 ( 1, _, 000, _, 000 )
> >
> > If you're going down this road, I'd rather just do
> >
> > #define MILLION MERGE3(1, 000, 000)
> >
> > where
> >
> > #define MERGE3(a,b,c) a##b##c
> >
> Everyone misinterprets this example.
>
> This is not an example to write 'grouped' numbers.
>
> It is an example what must be forbidden to be able to write a filter program
> which removes '_' from numbers.
Nonsense. Your filter program can simply sit between the preprocessor
and the compiler.
zw