diff options
Diffstat (limited to 'xsde/processing/inheritance/processor.cxx')
-rw-r--r-- | xsde/processing/inheritance/processor.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xsde/processing/inheritance/processor.cxx b/xsde/processing/inheritance/processor.cxx index e3b7442..5900239 100644 --- a/xsde/processing/inheritance/processor.cxx +++ b/xsde/processing/inheritance/processor.cxx @@ -348,7 +348,6 @@ namespace Processing continue; } - //wcerr << "type '" << t.name () << "' needs to be moved " << // "before " << (global.is_a<SG::Type> () ? "type" : "element") // << " '" << global.name () << "'" << endl; @@ -365,6 +364,11 @@ namespace Processing // Insert a new Names edge before global. // { + // t.scope () and global.scope () can be different in + // case of the chameleon inclusion. + // + Scope& scope (global.scope ()); + // Convert to the insert-after call. // Scope::NamesIterator i (scope.find (global.named ())); |