From 9058b985a920fc85a0e1126ad241901d70b199d9 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 21 Dec 2003 16:32:02 +0000 Subject: [PATCH] Fixed mis-spelling of __MWERKS__, hopefully fixed regex_token_iterator failure on MWCW as well. [SVN r21363] --- include/boost/regex/v4/regex_token_iterator.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/regex/v4/regex_token_iterator.hpp b/include/boost/regex/v4/regex_token_iterator.hpp index ef8955fd..82ac8ded 100644 --- a/include/boost/regex/v4/regex_token_iterator.hpp +++ b/include/boost/regex/v4/regex_token_iterator.hpp @@ -23,7 +23,7 @@ #include #if (BOOST_WORKAROUND(__BORLANDC__, >= 0x560) && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)))\ || BOOST_WORKAROUND(BOOST_MSVC, < 1300) \ - || BOOST_WORKAROUND(__MEWERKS__, BOOST_TESTED_AT(0x3003)) + || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) // // Borland C++ Builder 6, and Visual C++ 6, // can't cope with the array template constructor @@ -72,7 +72,7 @@ public: : end(last), pre(p), subs(v), flags(f){} #if (BOOST_WORKAROUND(__BORLANDC__, >= 0x560) && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)))\ || BOOST_WORKAROUND(BOOST_MSVC, < 1300) \ - || BOOST_WORKAROUND(__MEWERKS__, BOOST_TESTED_AT(0x3003)) + || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) template regex_token_iterator_implementation(const regex_type* p, BidirectionalIterator last, const T& submatches, match_flag_type f) : end(last), pre(p), flags(f) @@ -193,7 +193,7 @@ public: } #if (BOOST_WORKAROUND(__BORLANDC__, >= 0x560) && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)))\ || BOOST_WORKAROUND(BOOST_MSVC, < 1300) \ - || BOOST_WORKAROUND(__MEWERKS__, BOOST_TESTED_AT(0x3003)) + || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) template regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b, const regex_type& re, const T& submatches, match_flag_type m = match_default)