From 0ad1584d0ea2787ca1b6799855f3ad49e8fbf464 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Apr 2010 14:17:33 +0200 Subject: Change predicate names to end on _p --- xsd-frontend/transformations/anonymous.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xsd-frontend/transformations/anonymous.cxx') 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 (&n) != 0) return L""; // 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 () && !t.is_a ()) { @@ -335,7 +335,7 @@ namespace XSDFrontend //@@ This IDREF stuff is really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a () && !t.is_a ()) { @@ -426,7 +426,7 @@ namespace XSDFrontend //@@ This IDREF stuff is really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a () && !t.is_a ()) { @@ -469,7 +469,7 @@ namespace XSDFrontend //@@ This IDREF stuff us really ugly! // - if (!t.named () && + if (!t.named_p () && !t.is_a () && !t.is_a ()) { -- cgit v1.1