|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70215 - trunk/boost/spirit/home/lex/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-19 22:18:24
Author: hkaiser
Date: 2011-03-19 22:18:24 EDT (Sat, 19 Mar 2011)
New Revision: 70215
URL: http://svn.boost.org/trac/boost/changeset/70215
Log:
Spirit: fixing bogus constructor call to char_token_def
Text files modified:
trunk/boost/spirit/home/lex/lexer/char_token_def.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/char_token_def.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/char_token_def.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/char_token_def.hpp 2011-03-19 22:18:24 EDT (Sat, 19 Mar 2011)
@@ -134,13 +134,13 @@
template <typename Char>
result_type operator()(Char ch, unused_type) const
{
- return result_type(ch);
+ return result_type(ch, ch);
}
template <typename Char>
result_type operator()(Char const* str, unused_type) const
{
- return result_type(str[0]);
+ return result_type(str[0], str[0]);
}
};
}
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