* parser.c (cp_parser_simple_type_specifier): Fix typo.
authorMark Mitchell <mark@codesourcery.com>
Tue, 20 Jul 2004 19:13:36 +0000 (19:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Jul 2004 19:13:36 +0000 (19:13 +0000)
From-SVN: r84966

gcc/cp/ChangeLog
gcc/cp/parser.c

index b4ebd70c931e7afb913d62e5e7dfdfe60c20791b..72fbb8b07d21513a608473748c132f91df2a1f12 100644 (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.
index 2cd9f510e9a20fd05d1c82c5fc17050719301a14..fde2c79341d461725d2c1589521e8b65fff09146 100644 (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,