Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-10-04 13:55:20


Author: hkaiser
Date: 2007-10-04 13:55:20 EDT (Thu, 04 Oct 2007)
New Revision: 39687
URL: http://svn.boost.org/trac/boost/changeset/39687

Log:
Wave: Silenced a SUN compiler warning.
Text files modified:
   trunk/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | 14 +++++++-------
   1 files changed, 7 insertions(+), 7 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 2007-10-04 13:55:20 EDT (Thu, 04 Oct 2007)
@@ -67,7 +67,7 @@
     typedef typename token_type::string_type string_type;
     
     lexer(IteratorT const &first, IteratorT const &last,
- PositionT const &pos, boost::wave::language_support language);
+ PositionT const &pos, boost::wave::language_support language_);
     ~lexer();
 
     lex_token<PositionT> get();
@@ -110,8 +110,8 @@
 inline
 lexer<IteratorT, PositionT>::lexer(IteratorT const &first,
         IteratorT const &last, PositionT const &pos,
- boost::wave::language_support language)
-: filename(pos.get_file()), at_eof(false), language(language)
+ boost::wave::language_support language_)
+: filename(pos.get_file()), at_eof(false), language(language_)
 {
     using namespace std; // some systems have memset in std
     memset(&scanner, '\0', sizeof(Scanner));
@@ -132,17 +132,17 @@
 #endif
 
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
- scanner.act_in_c99_mode = boost::wave::need_c99(language);
+ scanner.act_in_c99_mode = boost::wave::need_c99(language_);
 #endif
 
 #if BOOST_WAVE_SUPPORT_IMPORT_KEYWORD != 0
- scanner.enable_import_keyword = !boost::wave::need_c99(language);
+ scanner.enable_import_keyword = !boost::wave::need_c99(language_);
 #else
     scanner.enable_import_keyword = false;
 #endif
 
- scanner.detect_pp_numbers = boost::wave::need_prefer_pp_numbers(language);
- scanner.single_line_only = boost::wave::need_single_line(language);
+ scanner.detect_pp_numbers = boost::wave::need_prefer_pp_numbers(language_);
+ scanner.single_line_only = boost::wave::need_single_line(language_);
 }
 
 template <typename IteratorT, typename PositionT>


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