ptree.c (cxx_print_type): Dump fullname.
* ptree.c (cxx_print_type) [TYPENAME_TYPE]: Dump fullname. (cxx_print_identifier): Correct indentation. From-SVN: r173006
This commit is contained in:
parent
36a9902dcd
commit
a0dc5e4ac9
2 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2011-04-26 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* ptree.c (cxx_print_type) [TYPENAME_TYPE]: Dump fullname.
|
||||
(cxx_print_identifier): Correct indentation.
|
||||
|
||||
PR c++/48530
|
||||
* decl.c (cxx_maybe_build_cleanup): Add complain parm.
|
||||
* tree.c (force_target_expr): Add complain parm.
|
||||
|
|
|
@ -99,6 +99,11 @@ cxx_print_type (FILE *file, tree node, int indent)
|
|||
print_node (file, "expr", DECLTYPE_TYPE_EXPR (node), indent + 4);
|
||||
return;
|
||||
|
||||
case TYPENAME_TYPE:
|
||||
print_node (file, "fullname", TYPENAME_TYPE_FULLNAME (node),
|
||||
indent + 4);
|
||||
return;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
@ -175,12 +180,12 @@ cxx_print_identifier (FILE *file, tree node, int indent)
|
|||
if (indent == 0)
|
||||
fprintf (file, " ");
|
||||
else
|
||||
indent_to (file, indent);
|
||||
indent_to (file, indent + 4);
|
||||
cxx_print_binding (file, IDENTIFIER_NAMESPACE_BINDINGS (node), "bindings");
|
||||
if (indent == 0)
|
||||
fprintf (file, " ");
|
||||
else
|
||||
indent_to (file, indent);
|
||||
indent_to (file, indent + 4);
|
||||
cxx_print_binding (file, IDENTIFIER_BINDING (node), "local bindings");
|
||||
print_node (file, "label", IDENTIFIER_LABEL_VALUE (node), indent + 4);
|
||||
print_node (file, "template", IDENTIFIER_TEMPLATE (node), indent + 4);
|
||||
|
|
Loading…
Add table
Reference in a new issue