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.
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;
}
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);