|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-20 09:24:11
Author: hkaiser
Date: 2008-04-20 09:24:11 EDT (Sun, 20 Apr 2008)
New Revision: 44624
URL: http://svn.boost.org/trac/boost/changeset/44624
Log:
Spirit.Lex: Worked around a problem related to HP-UX_ia64_aCC.
Text files modified:
trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_lexer.hpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_lexer.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_lexer.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_lexer.hpp 2008-04-20 09:24:11 EDT (Sun, 20 Apr 2008)
@@ -65,7 +65,10 @@
{
std::basic_string<Char> result(1, ch);
if (detail::must_escape(ch))
- result.insert(0, 1, '\\');
+ {
+ typedef typename std::basic_string<Char>::size_type size_type;
+ result.insert((size_type)0, 1, '\\');
+ }
return result;
}
}
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