summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-26 13:45:38 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-26 13:45:38 +0000
commitd571f56fc629f19ecd0da572f25d1ea1eb74ebad (patch)
tree10eb7f55dc83c7ac766387eb09cd9cafc6a0cd4c /gcc/cp/dump.c
parentb3442b3b3b22b6fd25d803a5b6df8c9ffb994982 (diff)
downloadgcc-d571f56fc629f19ecd0da572f25d1ea1eb74ebad.tar.gz
* c-dump.c: Resurrect.
* tree-dump.c: Move C-specific stuff to c-dump.c. * c-common.h: Declare c_dump_tree. * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define. * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. (c-dump.o): New rule. cp/ * dump.c (cp_dump_tree): Call c_dump_tree. * Make-lang.in (CXX_C_OBJS): Add c-dump.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55776 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r--gcc/cp/dump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index e0bc410bcae..0b404a1bab3 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -48,8 +48,7 @@ dump_access (di, t)
}
/* Dump a representation of the specific operator for an overloaded
- operator associated with node t.
-*/
+ operator associated with node t. */
static void
dump_op (di, t)
@@ -413,6 +412,5 @@ cp_dump_tree (dump_info, t)
break;
}
- return 0;
+ return c_dump_tree (di, t);
}
-