aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-09-11 05:03:14 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-09-11 05:03:14 +0000
commit70601cc243b361146a24149bf50145b86dc55dbe (patch)
tree7f412612473fd6ea154232a4bdc2c0a07e9be1af /gcc/tree-pretty-print.c
parent8a45d680ae320db9537e5b50e26c9fe4ea68e3a5 (diff)
downloadgcc-70601cc243b361146a24149bf50145b86dc55dbe.zip
gcc-70601cc243b361146a24149bf50145b86dc55dbe.tar.gz
gcc-70601cc243b361146a24149bf50145b86dc55dbe.tar.bz2
tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than <Dxxx>.
* tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than <Dxxx>. From-SVN: r87344
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index af3a029..5aa1743 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -162,12 +162,12 @@ dump_decl_name (pretty_printer *buffer, tree node, int flags)
{
if (TREE_CODE (node) == LABEL_DECL
&& LABEL_DECL_UID (node) != -1)
- pp_printf (buffer, "<L" HOST_WIDE_INT_PRINT_DEC ">",
+ pp_printf (buffer, "L." HOST_WIDE_INT_PRINT_DEC,
LABEL_DECL_UID (node));
else
{
char c = TREE_CODE (node) == CONST_DECL ? 'C' : 'D';
- pp_printf (buffer, "<%c%u>", c, DECL_UID (node));
+ pp_printf (buffer, "%c.%u", c, DECL_UID (node));
}
}
}