aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/tree-name-processor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/hybrid/tree-name-processor.cxx')
-rw-r--r--xsde/cxx/hybrid/tree-name-processor.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/xsde/cxx/hybrid/tree-name-processor.cxx b/xsde/cxx/hybrid/tree-name-processor.cxx
index a3a1dd3..9308598 100644
--- a/xsde/cxx/hybrid/tree-name-processor.cxx
+++ b/xsde/cxx/hybrid/tree-name-processor.cxx
@@ -2053,8 +2053,9 @@ namespace CXX
Void
process_impl (CLI::Options const& ops,
- SemanticGraph::Schema& tu,
- SemanticGraph::Path const& file)
+ SemanticGraph::Schema& tu,
+ SemanticGraph::Path const& file,
+ Boolean deep)
{
Context ctx (ops, tu, file);
@@ -2120,6 +2121,9 @@ namespace CXX
schema.dispatch (tu);
}
+ if (!deep)
+ return;
+
// Pass three - assign names inside complex types. Here we don't
// need to go into included/imported schemas.
//
@@ -2178,9 +2182,10 @@ namespace CXX
Void TreeNameProcessor::
process (CLI::Options const& ops,
SemanticGraph::Schema& tu,
- SemanticGraph::Path const& file)
+ SemanticGraph::Path const& file,
+ Boolean deep)
{
- process_impl (ops, tu, file);
+ process_impl (ops, tu, file, deep);
}
}
}