diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-08 21:13:57 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-08 21:13:57 +0000 |
commit | 6f74fe3cdede1d8654a61d41f77bedfac6acd357 (patch) | |
tree | b7e912e2ceef8e6cf2a6d1ba9186e1ee98ce2282 /ABOUT-NLS | |
parent | 8f3b5fc97cbdef876391d2c894fe1a4ea769fa24 (diff) | |
download | gcc-6f74fe3cdede1d8654a61d41f77bedfac6acd357.tar.gz |
PR c++/20905
* parser.c (cp_parser_type_specifier_seq): Add is_condition
parameter.
(cp_parser_new_type_id): Pass it.
(cp_parser_condition): Likewise.
(cp_parser_conversion_type_id): Likewise.
(cp_parser_type_id): Likewise.
(cp_parser_type_specifier_seq): In a condition, do not allow
invalid type-specifier combinations.
(cp_parser_exception_declaration): Adjust call to
cp_parser_type_specifier_seq.
PR c++/20905
* g++.dg/parse/cond2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ABOUT-NLS')
0 files changed, 0 insertions, 0 deletions