Commit 5c3decfd by Paolo Carlini Committed by Paolo Carlini

parser.c (cp_parser_nested_name_specifier_opt): Fix typo in comment.

2013-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

	* parser.c (cp_parser_nested_name_specifier_opt): Fix typo in comment.

From-SVN: r200017
parent fafb9387
2013-06-12 Paolo Carlini <paolo.carlini@oracle.com> 2013-06-12 Paolo Carlini <paolo.carlini@oracle.com>
* parser.c (cp_parser_nested_name_specifier_opt): Fix typo in comment.
2013-06-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/42021 PR c++/42021
* parser.c (cp_parser_nested_name_specifier_opt): Avoid emitting * parser.c (cp_parser_nested_name_specifier_opt): Avoid emitting
again diagnostic already emitted by cp_parser_lookup_name. again diagnostic already emitted by cp_parser_lookup_name.
......
...@@ -5231,7 +5231,7 @@ cp_parser_nested_name_specifier_opt (cp_parser *parser, ...@@ -5231,7 +5231,7 @@ cp_parser_nested_name_specifier_opt (cp_parser *parser,
else if (ambiguous_decls) else if (ambiguous_decls)
{ {
// cp_parser_lookup_name has the same diagnostic, // cp_parser_lookup_name has the same diagnostic,
// thus make sure to emit it almost once. // thus make sure to emit it at most once.
if (cp_parser_uncommitted_to_tentative_parse_p if (cp_parser_uncommitted_to_tentative_parse_p
(parser)) (parser))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment