diff options
Diffstat (limited to 'xsde/cxx/parser/validator.cxx')
-rw-r--r-- | xsde/cxx/parser/validator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xsde/cxx/parser/validator.cxx b/xsde/cxx/parser/validator.cxx index 520ede6..aa0a6df 100644 --- a/xsde/cxx/parser/validator.cxx +++ b/xsde/cxx/parser/validator.cxx @@ -54,7 +54,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 ()); @@ -290,7 +290,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 ()) { @@ -328,7 +328,7 @@ namespace CXX virtual Void traverse (SemanticGraph::Type& t) { - if (t.named ()) + if (t.named_p ()) { types_.insert (t.scope ().name () + L"#" + t.name ()); } @@ -409,7 +409,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> ()) { |