diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 19:59:16 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 19:59:16 +0000 |
commit | 57f08f11e9ec14a0a6e27b79c45116cb040b82de (patch) | |
tree | 515ce80a388b72849e08cc877925e5d16b15e4e3 /gcc/cp/dump.c | |
parent | c1a5b9f419c512de13dbca10b9f935560e123ad0 (diff) | |
download | gcc-57f08f11e9ec14a0a6e27b79c45116cb040b82de.tar.gz |
./
* c-common.def: Remove STMT_EXPR (moved to cp/cp-tree.def).
* c-common.h (STMT_EXPR_STMT): Don't define.
(STMT_EXPR_NO_SCOPE): Don't define.
* c-dump.c (c_dump_tree): Don't handle STMT_EXPR.
* c-pretty-print.c (pp_c_primary_expression): Likewise.
(pp_c_expression): Likewise.
cp/
* cp-tree.def: Add STMT_EXPR.
* cp-tree.h (STMT_EXPR_NO_SCOPE): Define.
(STMT_EXPR_STMT): Define.
* cxx-pretty-print.c (pp_cxx_primary_expression): Handle
STMT_EXPR.
(pp_cxx_expression): Likewise.
(pp_cxx_statement): Call pp_cxx_statement, not pp_statement.
* dump.c (cp_dump_tree): Handle STMT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index f653d3ab3e7..20c7ace5e8c 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -455,6 +455,10 @@ cp_dump_tree (void* dump_info, tree t) dump_child ("body", WHILE_BODY (t)); break; + case STMT_EXPR: + dump_child ("stmt", STMT_EXPR_STMT (t)); + break; + default: break; } |