|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57543 - branches/release/boost/spirit/home/lex/lexer/lexertl
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-10 09:44:39
Author: hkaiser
Date: 2009-11-10 09:44:39 EST (Tue, 10 Nov 2009)
New Revision: 57543
URL: http://svn.boost.org/trac/boost/changeset/57543
Log:
Spirit: fixing inconsistency resulting from merge error
Text files modified:
branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp
==============================================================================
--- branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp (original)
+++ branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp 2009-11-10 09:44:39 EST (Tue, 10 Nov 2009)
@@ -101,10 +101,10 @@
os_ << " enum { static_version = "
<< boost::lexical_cast<std::string>(SPIRIT_STATIC_LEXER_VERSION) << " };\n\n";
os_ << " // return the number of lexer states\n";
- os_ << " static std::size_t const state_count()\n";
+ os_ << " static std::size_t state_count()\n";
os_ << " {\n return lexer_state_count" << suffix << "; \n }\n\n";
os_ << " // return the name of the lexer state as given by 'idx'\n";
- os_ << " static char const* const state_name(std::size_t idx)\n";
+ os_ << " static char const* state_name(std::size_t idx)\n";
os_ << " {\n return lexer_state_names" << suffix << "[idx]; \n }\n\n";
os_ << " // return the next matched token\n";
os_ << " template<typename Iterator>\n";
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