summaryrefslogtreecommitdiff
path: root/gcc/c-common.def
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-20 19:59:16 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-20 19:59:16 +0000
commit57f08f11e9ec14a0a6e27b79c45116cb040b82de (patch)
tree515ce80a388b72849e08cc877925e5d16b15e4e3 /gcc/c-common.def
parentc1a5b9f419c512de13dbca10b9f935560e123ad0 (diff)
downloadgcc-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/c-common.def')
-rw-r--r--gcc/c-common.def4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c-common.def b/gcc/c-common.def
index b352364e95a..4f34a70ac17 100644
--- a/gcc/c-common.def
+++ b/gcc/c-common.def
@@ -29,10 +29,6 @@ cp-tree.def in the cp subdir. */
obtain the expression. */
DEFTREECODE (EXPR_STMT, "expr_stmt", tcc_expression, 1)
-/* A STMT_EXPR represents a statement-expression. The
- STMT_EXPR_STMT is the statement given by the expression. */
-DEFTREECODE (STMT_EXPR, "stmt_expr", tcc_expression, 1)
-
/* A COMPOUND_LITERAL_EXPR represents a C99 compound literal. The
COMPOUND_LITERAL_EXPR_DECL_STMT is the a DECL_STMT containing the decl
for the anonymous object represented by the COMPOUND_LITERAL;