summaryrefslogtreecommitdiffstats
path: root/gcc/cp/ptree.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-11 09:18:01 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-11 09:18:01 +0000
commit0986fa226db366e8ebf8fca24c27d9922294ff86 (patch)
tree37b398ebca5e5e9e4db16502deb7f9b40fb49cff /gcc/cp/ptree.c
parent612fe822e6350f79fa1f37be4df21950092ce45a (diff)
downloadppe42-gcc-0986fa226db366e8ebf8fca24c27d9922294ff86.tar.gz
ppe42-gcc-0986fa226db366e8ebf8fca24c27d9922294ff86.zip
cp:
PR c++/11050 * parser.c (cp_parser_expression_list): Rename to ... (cp_parser_parenthesized_expression_list): ... here. Add attribute parameter, parse the surounding parentheses. (cp_parser_skip_to_closing_parenthesis): Add recover and or_comma parameters. Return int. (cp_parser_skip_to_closing_parenthesis or comma): Remove. (cp_parser_postfix_expression): Adjust function call parsing. (cp_parser_new_placement): Adjust. (cp_parser_new_initializer): Likewise. (cp_parser_cast_expression): Likewise. (cp_parser_selection_statement): Likewise. (cp_parser_mem_initializer): Likewise. (cp_parser_asm_definition): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_declarator): Make cdtor_or_conv_p an int ptr. (cp_parser_direct_declarator): Likewise. Check for a parameter list on cdtors & conv functions. (cp_parser_initializer): Adjust. (cp_parser_member_declaration): Adjust. (cp_parser_attribute_list): Move code into cp_parser_parens_expression_list. (cp_parser_functional_cast): Adjust. * pt.c (type_dependent_expression_p): Erroneous expressions are non-dependent. testsuite: PR c++/11050 * g++.dg/parse/args1.C: New test. * g++.pt/defarg8.C: Change expected errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ptree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud