From 6afe8b0a23365e692c68273198f81110cf315d8d Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 27 Jul 2010 17:24:17 +0000 Subject: continued regex development... llvm-svn: 109512 --- libcxx/src/regex.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcxx/src/regex.cpp') diff --git a/libcxx/src/regex.cpp b/libcxx/src/regex.cpp index 59591e03723..c84d43e5039 100644 --- a/libcxx/src/regex.cpp +++ b/libcxx/src/regex.cpp @@ -50,6 +50,10 @@ make_error_type_string(regex_constants::error_type ecode) case regex_constants::error_stack: return "There was insufficient memory to determine whether the regular " "expression could match the specified character sequence."; + case regex_constants::__re_err_grammar: + return "An invalid regex grammar has been requested."; + case regex_constants::__re_err_empty: + return "An empty regex is not allowed in the POSIX grammar."; default: break; } -- cgit v1.2.3