[Gllug] Website developement
Stig Brautaset
stig at brautaset.org
Sun Jul 15 23:25:55 UTC 2001
Nix <nix at esperi.demon.co.uk> writes:
> On 15 Jul 2001, Stig Brautaset stipulated:
> > You can represent every character you want using this method. If you
> > have a macro defined, and you want to have a comma in text used for
> > input to this macro then you will have to use , or the equivalent
> > (lest gcc -P complains about "too many arguments too macro" or
> > something along those lines)
>
> You can use a GCC extension and say
>
> #define MACRO_WITH_COMMAS(args...)
>
> to let `args' be everything in the macro, including commas, spaces, and
> Cthulhu knows what else. (Note that multiple spaces may be collapsed to
> one in the process.)
>
> (You can have arguments before `args', of course, and they're treated in
> the normal way for macros.)
Thanks; I did know about the feature, but not how to use it -- until
now.
Cheers, Stig
--
00:18:28 up 1 day, 1:58, 4 users, load average: 0.00, 0.07, 0.07
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list