aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/parser/validator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
commit9e21f520fb19163eeac2a9b80a4568dabfc29268 (patch)
tree50e27bcaaf0807bd29a845485732159aa684971f /xsd/cxx/parser/validator.cxx
parentea95e3637288a1369ac96011d0cec9feeead05f2 (diff)
Adjust to changed predicate names
Diffstat (limited to 'xsd/cxx/parser/validator.cxx')
-rw-r--r--xsd/cxx/parser/validator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/parser/validator.cxx b/xsd/cxx/parser/validator.cxx
index d70e333..19b15c6 100644
--- a/xsd/cxx/parser/validator.cxx
+++ b/xsd/cxx/parser/validator.cxx
@@ -52,7 +52,7 @@ namespace CXX
if (n.is_a<SemanticGraph::Namespace> ())
return L"<namespace-level>"; // There is a bug if you see this.
- assert (n.named ());
+ assert (n.named_p ());
SemanticGraph::Scope& scope (n.scope ());
@@ -105,7 +105,7 @@ namespace CXX
using SemanticGraph::Any;
- Boolean q (e.qualified ());
+ Boolean q (e.qualified_p ());
String ns (q ? e.namespace_ ().name () : "");
for (Any::NamespaceIterator i (any_.namespace_begin ());
@@ -284,7 +284,7 @@ namespace CXX
{
SemanticGraph::Type& t (c.inherits ().base ());
- if (t.named () &&
+ if (t.named_p () &&
types_.find (
t.scope ().name () + L"#" + t.name ()) == types_.end ())
{
@@ -322,7 +322,7 @@ namespace CXX
virtual Void
traverse (SemanticGraph::Type& t)
{
- if (t.named ())
+ if (t.named_p ())
{
types_.insert (t.scope ().name () + L"#" + t.name ());
}
@@ -410,7 +410,7 @@ namespace CXX
{
SemanticGraph::Type& t (m.type ());
- if (!t.named ()
+ if (!t.named_p ()
&& !t.is_a<SemanticGraph::Fundamental::IdRef> ()
&& !t.is_a<SemanticGraph::Fundamental::IdRefs> ())
{