parser.c (cp_parser_uncommitted_to_tentative_parse_p): New function.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 14 Dec 2004 13:32:03 +0000 (13:32 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 14 Dec 2004 13:32:03 +0000 (13:32 +0000)
commit0b16f8f4131be4f5bbc749fc9a0543240cd1efbc
tree9ab72c7a6b54182e958fee5e313e806588ac379a
parent985791f6feb0274ab67f192ab913628428cead91
parser.c (cp_parser_uncommitted_to_tentative_parse_p): New function.

* parser.c (cp_parser_uncommitted_to_tentative_parse_p): New function.
(cp_parser_name_lookup_error): Use it.
(cp_parser_check_for_invalid_template_id): Likewise.
(cp_parser_skip_to_closing_parenthesis): Likewise.
(cp_parser_nested_name_specifier_opt): Likewise.
(cp_parser_simple_declaration, cp_parser_template_id): Likewise.
(cp_parser_parameter_declaration_list): Likewise.
(cp_parser_parameter_declaration): Likewise.
(cp_parser_template_name): Let cp_parser_simulate_error perform
the checking.
(cp_parser_committed_to_tentative_parse): Remove.

From-SVN: r92133
gcc/cp/ChangeLog
gcc/cp/parser.c