diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:17:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:17:33 +0200 |
commit | 0ad1584d0ea2787ca1b6799855f3ad49e8fbf464 (patch) | |
tree | 3579b4ddbb5fb5ba574d2625fdf1c7740901c02c /xsd-frontend/transformations/anonymous.cxx | |
parent | 4c374763f7a13c1062dc99f4b68f0ee61c952ca0 (diff) |
Change predicate names to end on _p
Diffstat (limited to 'xsd-frontend/transformations/anonymous.cxx')
-rw-r--r-- | xsd-frontend/transformations/anonymous.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xsd-frontend/transformations/anonymous.cxx b/xsd-frontend/transformations/anonymous.cxx index 4663c1d..6998176 100644 --- a/xsd-frontend/transformations/anonymous.cxx +++ b/xsd-frontend/transformations/anonymous.cxx @@ -152,7 +152,7 @@ namespace XSDFrontend break; } - if (!schema->used ()) + if (!schema->used_p ()) return schema_path; Uses& u (*schema->used_begin ()); @@ -166,7 +166,7 @@ namespace XSDFrontend if (dynamic_cast<SemanticGraph::Namespace*> (&n) != 0) return L"<namespace-level>"; // There is a bug if you see this. - assert (n.named ()); + assert (n.named_p ()); SemanticGraph::Scope& scope (n.scope ()); @@ -254,7 +254,7 @@ namespace XSDFrontend //@@ This IDREF stuff is really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a<SemanticGraph::Fundamental::IdRef> () && !t.is_a<SemanticGraph::Fundamental::IdRefs> ()) { @@ -335,7 +335,7 @@ namespace XSDFrontend //@@ This IDREF stuff is really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a<SemanticGraph::Fundamental::IdRef> () && !t.is_a<SemanticGraph::Fundamental::IdRefs> ()) { @@ -426,7 +426,7 @@ namespace XSDFrontend //@@ This IDREF stuff is really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a<SemanticGraph::Fundamental::IdRef> () && !t.is_a<SemanticGraph::Fundamental::IdRefs> ()) { @@ -469,7 +469,7 @@ namespace XSDFrontend //@@ This IDREF stuff us really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a<SemanticGraph::Fundamental::IdRef> () && !t.is_a<SemanticGraph::Fundamental::IdRefs> ()) { |