summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/name-processor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/cxx/tree/name-processor.cxx')
-rw-r--r--xsd/cxx/tree/name-processor.cxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/xsd/cxx/tree/name-processor.cxx b/xsd/cxx/tree/name-processor.cxx
index 53027af..e15b072 100644
--- a/xsd/cxx/tree/name-processor.cxx
+++ b/xsd/cxx/tree/name-processor.cxx
@@ -4,7 +4,6 @@
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <cxx/tree/name-processor.hxx>
-#include <cxx/tree/elements.hxx>
#include <backend-elements/regex.hxx>
@@ -43,12 +42,14 @@ namespace CXX
Counts const& counts,
Boolean generate_xml_schema,
SemanticGraph::Schema& root,
- SemanticGraph::Path const& file)
+ SemanticGraph::Path const& file,
+ StringLiteralMap const& map)
: Tree::Context (std::wcerr,
root,
options,
counts,
generate_xml_schema,
+ &map,
0,
0,
0),
@@ -1970,12 +1971,13 @@ namespace CXX
Boolean
process_impl (CLI::Options const& ops,
SemanticGraph::Schema& tu,
- SemanticGraph::Path const& file)
+ SemanticGraph::Path const& file,
+ StringLiteralMap const& map)
{
try
{
Counts counts;
- Context ctx (ops, counts, false, tu, file);
+ Context ctx (ops, counts, false, tu, file, map);
if (tu.names_begin ()->named ().name () ==
L"http://www.w3.org/2001/XMLSchema")
@@ -2096,9 +2098,10 @@ namespace CXX
Boolean NameProcessor::
process (CLI::Options const& ops,
SemanticGraph::Schema& tu,
- SemanticGraph::Path const& file)
+ SemanticGraph::Path const& file,
+ StringLiteralMap const& map)
{
- return process_impl (ops, tu, file);
+ return process_impl (ops, tu, file, map);
}
}
}