diff options
| author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-06 18:40:22 +0000 |
|---|---|---|
| committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-06 18:40:22 +0000 |
| commit | 42bbd0ec35ffa6f3c69b17b407e046e6985a34a6 (patch) | |
| tree | 649fe3bdf8170a387fdf89fd878e30bb2641d027 /libjava/java | |
| parent | 8fdaf281e068b8522e16ec2ca50f821a471d5580 (diff) | |
| download | ppe42-gcc-42bbd0ec35ffa6f3c69b17b407e046e6985a34a6.tar.gz ppe42-gcc-42bbd0ec35ffa6f3c69b17b407e046e6985a34a6.zip | |
cp:
PR c++/9109
* parser.c (cp_parser_declarator_kind): New enum.
(cp_parser_declarator): Adjust.
(cp_parser_direct_declarator): Adjust. Allow for either named or
abstract declarator. Prefer abstract, if possible. Allow
parenthesized function name.
(cp_parser_condition): Adjust cp_parser_declarator call.
(cp_parser_explicit_instantiation): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_type_id): Likewise.
(cp_parser_function_definition): Likewise.
(cp_parser_member_declaration): Likewise.
(cp_parser_parameter_declaration): Use cp_parser_declarator to do
the tentative parsing.
(cp_parser_exception_declaration): Likewise.
testsuite:
* g++.dg/parse/ambig1.C: New test.
* g++.dg/parse/defarg2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions

