diff options
Diffstat (limited to 'xsde/cxx/hybrid/validator.cxx')
-rw-r--r-- | xsde/cxx/hybrid/validator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xsde/cxx/hybrid/validator.cxx b/xsde/cxx/hybrid/validator.cxx index 7641025..579af88 100644 --- a/xsde/cxx/hybrid/validator.cxx +++ b/xsde/cxx/hybrid/validator.cxx @@ -57,7 +57,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 ()); @@ -111,7 +111,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 ()) { @@ -147,7 +147,7 @@ namespace CXX virtual Void traverse (SemanticGraph::Type& t) { - if (t.named ()) + if (t.named_p ()) { types_.insert (t.scope ().name () + L"#" + t.name ()); } @@ -221,7 +221,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> ()) { |