aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.def
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2005-04-20 19:59:16 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2005-04-20 19:59:16 +0000
commitc3e5898be3e730343aa0803f62c1c432f9b1949e (patch)
tree515ce80a388b72849e08cc877925e5d16b15e4e3 /gcc/c-common.def
parent02d98c0d639a8b003ce35aade9efb89da4a156b5 (diff)
downloadgcc-c3e5898be3e730343aa0803f62c1c432f9b1949e.zip
gcc-c3e5898be3e730343aa0803f62c1c432f9b1949e.tar.gz
gcc-c3e5898be3e730343aa0803f62c1c432f9b1949e.tar.bz2
c-common.def: Remove STMT_EXPR (moved to cp/cp-tree.def).
./ * 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. From-SVN: r98469
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 b352364..4f34a70 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;