aboutsummaryrefslogtreecommitdiff
path: root/xsde/type-map/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-09 11:52:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-09 11:52:59 +0200
commit713324411804114f2699c6c127c659345d7359d5 (patch)
tree614357de1a6607d864faf5df5a4b7e085e08fc03 /xsde/type-map/parser.cxx
parent1061c7c0ac3e6e9f6de93a9d8c68ce5d7a40c7ed (diff)
Port to use regex from libcutl instead of libbackend-elements
Diffstat (limited to 'xsde/type-map/parser.cxx')
-rw-r--r--xsde/type-map/parser.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xsde/type-map/parser.cxx b/xsde/type-map/parser.cxx
index 929c3d3..16bb7ec 100644
--- a/xsde/type-map/parser.cxx
+++ b/xsde/type-map/parser.cxx
@@ -5,7 +5,7 @@
#include <iostream>
-#include <backend-elements/regex.hxx>
+#include <cutl/re.hxx>
#include <type-map/parser.hxx>
@@ -14,7 +14,7 @@ using std::endl;
namespace TypeMap
{
typedef Lexer::Token Token;
- typedef BackendElements::Regex::Format<WideChar> Format;
+ typedef cutl::re::wformat Format;
Parser::Parser (Lexer& lex, String const& path)
: lex_ (lex), path_ (path), e (std::wcerr)
@@ -99,7 +99,7 @@ namespace TypeMap
catch (Format const& ex)
{
e << path_ << ":" << t.line () << ": invalid namespace pattern: "
- << ex.description () << endl;
+ << ex.description ().c_str () << endl;
return false;
}
@@ -234,7 +234,7 @@ namespace TypeMap
catch (Format const& ex)
{
e << path_ << ":" << t.line () << ": invalid namespace pattern: "
- << ex.description () << endl;
+ << ex.description ().c_str () << endl;
return false;
}