|
Boost : |
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2004-10-02 19:11:09
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Daryle Walker
> > Yes, please! (It's a bug in the compiler/preprocessor, of course).
>
> Not necessarily. It depends on where digraph expansion is
> supposed to occur relative to macro expansion.
The above represents a preprocessor bug (it is operating on text instead of on
preprocessing tokens).
Digraphs are separate preprocessing tokens (just like their "regular"
equivalents)--see the grammar production "preprocessing-op-or-punc". E.g.
%:define ABC // should be fine
Regards,
Paul Mensonides
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk