]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/41876 (Parse problems with catch)
authorJason Merrill <jason@redhat.com>
Tue, 3 Nov 2009 20:52:21 +0000 (15:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Nov 2009 20:52:21 +0000 (15:52 -0500)
commitc5d3d0ba3faadbd4430420218403944f26fa4c83
tree9af4ad6eba228c9379f404da1b013ff89c43b9f8
parentaa9b756937a80e557f1c983d37ce1423c3afc2b2
re PR c++/41876 (Parse problems with catch)

PR c++/41876
* parser.c (cp_parser_type_specifier_seq): Rename is_condition to
is_declaration.
(cp_parser_exception_declaration): Pass true.
(cp_parser_omp_for_loop): Likewise.

From-SVN: r153864
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/eh-decl.C [new file with mode: 0644]