* parser.c (cp_parser_simple_type_specifier): Fix typo.

From-SVN: r84966
This commit is contained in:
Mark Mitchell 2004-07-20 19:13:36 +00:00 committed by Mark Mitchell
parent f68e4dc883
commit da7404533a
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2004-07-20 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_simple_type_specifier): Fix typo.
PR c++/16637
* parser.c (cp_parser_simple_type_specifier): Do not record usage
of globally-qualified names.

View File

@ -9468,8 +9468,9 @@ cp_parser_simple_type_specifier (cp_parser* parser,
/* Look for the optional `::' operator. */
global_p
= cp_parser_global_scope_opt (parser,
/*current_scope_valid_p=*/false);
= (cp_parser_global_scope_opt (parser,
/*current_scope_valid_p=*/false)
!= NULL_TREE);
/* Look for the nested-name specifier. */
qualified_p
= (cp_parser_nested_name_specifier_opt (parser,