Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-04-26 12:26:00


Reece Dunn wrote:

> > In the file:
> > spirit/wave/wave/cpplexer/slex/cpp_slex_lexer.hpp
> > I have noticed two points that may be bugs (but have not verified
> > through compilation.)
> >
> > <1> line 335:
> >
> > [332] // C++ only token definitions
> > [333] template <typename IteratorT, typename PositionT>
> > [334] typename lexer<IteratorT, PositionT>::lexer_data const [335]
> > lexer<IteratorT, PositionT>::init_data[] =
> >
> > Should init_data be init_data_cpp??? c.f. line 76:
> >
> > [75] static lexer_data const init_data[]; //
> common patterns
> > [76] static lexer_data const init_data_cpp[]; // C++ only
> > patterns
> >
> > <2> line 351:
> >
> > [350] TOKEN_DATA(COLON_COLON, "::"),
> > [351] };
> >
> > The comma at the end of line 350 is an error, unless line
> 351 is meant
> > to
> > be:
> >
> > [351a] { token_id(0) } // this should be the last entry
> > [351b] };
> >
> > c.f. line 328 (same as 351a, 351b).

I was in vacation last week ..., so sorry for the delay.

You've hit a bug. Thanks. I wonder how it worked ;-P
Fixed and committed to the CVS Spirit::HEAD.

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk