diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:30:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:30:56 +0200 |
commit | 9e21f520fb19163eeac2a9b80a4568dabfc29268 (patch) | |
tree | 50e27bcaaf0807bd29a845485732159aa684971f /xsd/processing/inheritance/processor.cxx | |
parent | ea95e3637288a1369ac96011d0cec9feeead05f2 (diff) |
Adjust to changed predicate names
Diffstat (limited to 'xsd/processing/inheritance/processor.cxx')
-rw-r--r-- | xsd/processing/inheritance/processor.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xsd/processing/inheritance/processor.cxx b/xsd/processing/inheritance/processor.cxx index 5687bb7..d92ea6c 100644 --- a/xsd/processing/inheritance/processor.cxx +++ b/xsd/processing/inheritance/processor.cxx @@ -59,7 +59,7 @@ namespace Processing if (dynamic_cast<SemanticGraph::Namespace*> (&n) != 0) return L"<namespace-level>"; // There is a bug if you see this. - if (n.named ()) + if (n.named_p ()) { SemanticGraph::Scope& scope (n.scope ()); @@ -108,7 +108,7 @@ namespace Processing { SemanticGraph::Type& t (m.type ()); - if (!t.named () && types_seen_.find (&t) == types_seen_.end ()) + if (!t.named_p () && types_seen_.find (&t) == types_seen_.end ()) { FrontendElements::Context& ctx (t.context ()); @@ -193,7 +193,7 @@ namespace Processing virtual Void traverse (SemanticGraph::Type& t) { - if (t.named ()) + if (t.named_p ()) types_seen_.insert (&t); } @@ -209,7 +209,7 @@ namespace Processing { SemanticGraph::Type& t (e.type ()); - if (!t.named ()) + if (!t.named_p ()) { t.context ().set ("instance-name", xpath (e)); check_dep (e, t); @@ -321,7 +321,7 @@ namespace Processing // String name (t.name ()); { - Names& n (t.named_ ()); + Names& n (t.named ()); root_.delete_edge (scope, t, n); } @@ -330,7 +330,7 @@ namespace Processing { // Convert to the insert-after call. // - Scope::NamesIterator i (scope.find (global.named_ ())); + Scope::NamesIterator i (scope.find (global.named ())); if (i == scope.names_begin ()) i = scope.names_end (); |