ptree.c (cxx_print_identifier): Print a leading space if the indent level is 0.
* ptree.c (cxx_print_identifier): Print a leading space if the indent level is 0. From-SVN: r102378
This commit is contained in:
parent
9bbf1357c8
commit
dd4f41c377
@ -1,3 +1,8 @@
|
||||
2005-07-25 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* ptree.c (cxx_print_identifier): Print a leading space if the
|
||||
indent level is 0.
|
||||
|
||||
2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* call.c (convert_for_arg_passing): Check function pointers when
|
||||
|
@ -149,8 +149,14 @@ cxx_print_binding (FILE *stream, cxx_binding *binding, const char *prefix)
|
||||
void
|
||||
cxx_print_identifier (FILE *file, tree node, int indent)
|
||||
{
|
||||
if (indent == 0)
|
||||
fprintf (file, " ");
|
||||
else
|
||||
indent_to (file, indent);
|
||||
cxx_print_binding (file, IDENTIFIER_NAMESPACE_BINDINGS (node), "bindings");
|
||||
if (indent == 0)
|
||||
fprintf (file, " ");
|
||||
else
|
||||
indent_to (file, indent);
|
||||
cxx_print_binding (file, IDENTIFIER_BINDING (node), "local bindings");
|
||||
print_node (file, "label", IDENTIFIER_LABEL_VALUE (node), indent + 4);
|
||||
|
Loading…
Reference in New Issue
Block a user