parser.c (259269) | parser.c (260140) |
---|---|
1/* C++ Parser. 2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 2005 Free Software Foundation, Inc. 4 Written by Mark Mitchell <mark@codesourcery.com>. 5 6 This file is part of GCC. 7 8 GCC is free software; you can redistribute it and/or modify it --- 15623 unchanged lines hidden (view full) --- 15632 perform_deferred_access_checks (); 15633 15634 if (!success_p) 15635 { 15636 /* Skip the entire function. */ 15637 cp_parser_skip_to_end_of_block_or_statement (parser); 15638 fn = error_mark_node; 15639 } | 1/* C++ Parser. 2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 2005 Free Software Foundation, Inc. 4 Written by Mark Mitchell <mark@codesourcery.com>. 5 6 This file is part of GCC. 7 8 GCC is free software; you can redistribute it and/or modify it --- 15623 unchanged lines hidden (view full) --- 15632 perform_deferred_access_checks (); 15633 15634 if (!success_p) 15635 { 15636 /* Skip the entire function. */ 15637 cp_parser_skip_to_end_of_block_or_statement (parser); 15638 fn = error_mark_node; 15639 } |
15640 else if (DECL_INITIAL (current_function_decl) != error_mark_node) 15641 { 15642 /* Seen already, skip it. An error message has already been output. */ 15643 cp_parser_skip_to_end_of_block_or_statement (parser); 15644 fn = current_function_decl; 15645 current_function_decl = NULL_TREE; 15646 /* If this is a function from a class, pop the nested class. */ 15647 if (current_class_name) 15648 pop_nested_class (); 15649 } |
|
15640 else 15641 fn = cp_parser_function_definition_after_declarator (parser, 15642 /*inline_p=*/false); 15643 15644 return fn; 15645} 15646 15647/* Parse the part of a function-definition that follows the --- 3832 unchanged lines hidden --- | 15650 else 15651 fn = cp_parser_function_definition_after_declarator (parser, 15652 /*inline_p=*/false); 15653 15654 return fn; 15655} 15656 15657/* Parse the part of a function-definition that follows the --- 3832 unchanged lines hidden --- |