|
Boost : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2003-04-21 11:12:14
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).
-rhd-
_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk