Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55971 - trunk/boost/wave/cpplexer/re2clex
From: hartmut.kaiser_at_[hidden]
Date: 2009-09-02 05:34:49


Author: hkaiser
Date: 2009-09-02 05:34:48 EDT (Wed, 02 Sep 2009)
New Revision: 55971
URL: http://svn.boost.org/trac/boost/changeset/55971

Log:
Wave: trying to fix #3380
Text files modified:
   trunk/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp
==============================================================================
--- trunk/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp (original)
+++ trunk/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2009-09-02 05:34:48 EDT (Wed, 02 Sep 2009)
@@ -117,7 +117,10 @@
 lexer<IteratorT, PositionT, TokenT>::lexer(IteratorT const &first,
         IteratorT const &last, PositionT const &pos,
         boost::wave::language_support language_)
-: filename(pos.get_file()), at_eof(false), language(language_)
+ : filename(pos.get_file()), at_eof(false), language(language_)
+#if BOOST_WAVE_SUPPORT_THREADING != 0
+ , cache()
+#endif
 {
     using namespace std; // some systems have memset in std
     memset(&scanner, '\0', sizeof(Scanner));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk