DWARF Standard


021016.1 David Anderson C++ namespaces example Editorial Accepted John DelSignore

David Carlton
>I was just looking through the DWARF 3 draft standard, and I want to
>make sure I understand the namespace stuff properly.  In the example
>in section D.3 on pp. 190-192 of draft 8, in the output corresponding
>namespace A {
>  namespace B {
>    using namespace Y
>    int k;
>  }
>the example makes it look like the DW_TAG_variable corresponding to k
>is a child of the DW_TAG_imported_module corresponding to the using
>directive.  It seems to me like it should be a child of the
>DW_TAG_namespace corresponding to B, so some of the indentation in
>that example should be changed.  Is that correct, or am I missing

(refers to Draft 8, page 192.)

Toward the bottom one third area of the page, 
move the  TAG and attributes
for the variable 'k' left one tab left under the TAG_imported_module (6)



All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2007-2017 by DWARF Standards Committee.