$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r85118 - trunk/boost/xpressive/detail/dynamic
From: eric_at_[hidden]
Date: 2013-07-22 23:22:01
Author: eric_niebler
Date: 2013-07-22 23:22:01 EDT (Mon, 22 Jul 2013)
New Revision: 85118
URL: http://svn.boost.org/trac/boost/changeset/85118
Log:
throw instead of assert at incomplete charset, refs #8843
Text files modified: 
   trunk/boost/xpressive/detail/dynamic/parse_charset.hpp |     2 +-                                      
   1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/xpressive/detail/dynamic/parse_charset.hpp
==============================================================================
--- trunk/boost/xpressive/detail/dynamic/parse_charset.hpp	Mon Jul 22 15:34:32 2013	(r85117)
+++ trunk/boost/xpressive/detail/dynamic/parse_charset.hpp	2013-07-22 23:22:01 EDT (Mon, 22 Jul 2013)	(r85118)
@@ -198,7 +198,7 @@
     using namespace regex_constants;
     typedef typename RegexTraits::char_type char_type;
     typedef typename RegexTraits::char_class_type char_class_type;
-    BOOST_ASSERT(begin != end);
+    BOOST_XPR_ENSURE_(begin != end, error_brack, "unexpected end of pattern found");
     RegexTraits const &rxtraits = tr.traits();
     bool const icase = (0 != (regex_constants::icase_ & tr.flags()));
     FwdIter iprev = FwdIter();