From 1bbda436383a1162d78ce4c43f7992adb136b89b Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 10 Sep 1999 01:09:05 +0000 Subject: * parse.y (simple_stmt): Fix typo in last change. From-SVN: r29252 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/parse.y | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f90f804..e8360ee 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 1999-09-09 Mark Mitchell + * parse.y (simple_stmt): Fix typo in last change. + * cp-tree.h (EXPR_STMT_ASSIGNS_THIS): New macro. (STMT_IS_FULL_EXPR_P): Likewise. (STMT_LINENO_FOR_FN_P): Likewise. diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y index 1b1c8b5..6608f85 100644 --- a/gcc/cp/parse.y +++ b/gcc/cp/parse.y @@ -3278,7 +3278,7 @@ simple_stmt: '(' condition ')' { finish_switch_cond ($4, $2); } implicitly_scoped_stmt - { finish_switch_stmt ($4, $6); } + { finish_switch_stmt ($4, $2); } | CASE expr_no_commas ':' { finish_case_label ($2, NULL_TREE); } stmt -- cgit v1.1