aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parse.y
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-20 21:26:06 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-20 21:26:06 +0000
commit447cfcb9e12b13e75072f4774bc4579998513a6a (patch)
tree6e40d5372fb2d68b923e86b1e69f592b51bfac53 /gcc/cp/parse.y
parentea003f6d7c5c6c58661582cd6d040202a176e888 (diff)
downloadgcc-447cfcb9e12b13e75072f4774bc4579998513a6a.zip
gcc-447cfcb9e12b13e75072f4774bc4579998513a6a.tar.gz
gcc-447cfcb9e12b13e75072f4774bc4579998513a6a.tar.bz2
cp-tree.h (finish_stmt_expr): Change prototype.
* cp-tree.h (finish_stmt_expr): Change prototype. * expr.c (cplus_expand_expr): Adjust call accordingly. * init.c (finish_init_stmts): Likewise. * parse.y (primary): Likewise. * pt.c (tsubst_copy): Likewise. * semantics.c (finish_stmt_expr): Don't take two parameters. Don't remove generated BLOCKs from the block-tree. From-SVN: r29533
Diffstat (limited to 'gcc/cp/parse.y')
-rw-r--r--gcc/cp/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y
index ce697d4..c3892ed 100644
--- a/gcc/cp/parse.y
+++ b/gcc/cp/parse.y
@@ -1446,7 +1446,7 @@ primary:
$<ttype>$ = begin_stmt_expr ();
}
compstmt ')'
- { $$ = finish_stmt_expr ($<ttype>2, $3); }
+ { $$ = finish_stmt_expr ($<ttype>2); }
/* Koenig lookup support
We could store lastiddecl in $1 to avoid another lookup,
but that would result in many additional reduce/reduce conflicts. */