diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-09-10 01:09:05 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-10 01:09:05 +0000 |
commit | 1bbda436383a1162d78ce4c43f7992adb136b89b (patch) | |
tree | f27877eafce0d0f1a4db1a432764b0f3771b8669 | |
parent | f1b856d94e6a62a946842f8eec4eb8ad087ee783 (diff) | |
download | gcc-1bbda436383a1162d78ce4c43f7992adb136b89b.zip gcc-1bbda436383a1162d78ce4c43f7992adb136b89b.tar.gz gcc-1bbda436383a1162d78ce4c43f7992adb136b89b.tar.bz2 |
* parse.y (simple_stmt): Fix typo in last change.
From-SVN: r29252
-rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/parse.y | 2 |
2 files changed, 3 insertions, 1 deletions
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 <mark@codesourcery.com> + * 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, $<ttype>2); } implicitly_scoped_stmt - { finish_switch_stmt ($4, $<ttype>6); } + { finish_switch_stmt ($4, $<ttype>2); } | CASE expr_no_commas ':' { finish_case_label ($2, NULL_TREE); } stmt |