forked from boostorg/regex
Merge regex changes from Trunk.
[SVN r76192]
This commit is contained in:
@ -222,7 +222,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1200) && defined(_MSC_EXTENSIONS)
|
||||
#if defined(_DEBUG) || defined(__MSVC_RUNTIME_CHECKS) || defined(_MANAGED)
|
||||
#if defined(_DEBUG) || defined(__MSVC_RUNTIME_CHECKS) || defined(_MANAGED) || defined(BOOST_REGEX_NO_FASTCALL)
|
||||
# define BOOST_REGEX_CALL __cdecl
|
||||
#else
|
||||
# define BOOST_REGEX_CALL __fastcall
|
||||
|
@ -88,3 +88,6 @@
|
||||
|
||||
// define this if you want to enable support for Unicode via ICU.
|
||||
// #define BOOST_HAS_ICU
|
||||
|
||||
// define this if you want regex to use __cdecl calling convensions, even when __fastcall is available:
|
||||
// #define BOOST_REGEX_NO_FASTCALL
|
||||
|
@ -200,9 +200,9 @@ void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_c
|
||||
if(error_code != regex_constants::error_empty)
|
||||
{
|
||||
if((start_pos != 0) || (end_pos != (m_end - m_base)))
|
||||
message += " The error occured while parsing the regular expression fragment: '";
|
||||
message += " The error occurred while parsing the regular expression fragment: '";
|
||||
else
|
||||
message += " The error occured while parsing the regular expression: '";
|
||||
message += " The error occurred while parsing the regular expression: '";
|
||||
if(start_pos != end_pos)
|
||||
{
|
||||
message += std::string(m_base + start_pos, m_base + position);
|
||||
|
Reference in New Issue
Block a user