Update of /cvsroot/boost/boost/libs/wave/samples/cpp_tokens/slex
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30735/libs/wave/samples/cpp_tokens/slex
Modified Files:
cpp_slex_lexer.hpp
Log Message:
Factored out the pure lex_input_interface to simplify writing different lexer
types for Wave.
Index: cpp_slex_lexer.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/wave/samples/cpp_tokens/slex/cpp_slex_lexer.hpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- cpp_slex_lexer.hpp 29 Sep 2006 16:03:12 -0000 1.31
+++ cpp_slex_lexer.hpp 22 Nov 2006 02:33:44 -0000 1.32
@@ -32,6 +32,7 @@
#if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0
#include <boost/wave/cpplexer/detect_include_guards.hpp>
#endif
+#include <boost/wave/cpplexer/cpp_lex_interface.hpp>
#include "../slex_interface.hpp"
#include "../slex_token.hpp"
@@ -749,7 +750,7 @@
template <typename IteratorT, typename PositionT>
BOOST_WAVE_SLEX_NEW_LEXER_INLINE
-slex_input_interface<slex_token<PositionT> > *
+lex_input_interface<slex_token<PositionT> > *
new_lexer_gen<IteratorT, PositionT>::new_lexer(IteratorT const &first,
IteratorT const &last, PositionT const &pos,
boost::wave::language_support language)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs