(init_decl_processing): Call init_iterators.
authorRichard Stallman <rms@gnu.org>
Tue, 2 Mar 1993 04:29:28 +0000 (04:29 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 2 Mar 1993 04:29:28 +0000 (04:29 +0000)
(grokdeclarator): Typo in previous change.

From-SVN: r3587

gcc/c-decl.c

index 15da5ba026b65778462c5c447298a596a963a450..71a234d80f14088400573865c373029cfe0023ef 100644 (file)
@@ -2954,6 +2954,8 @@ init_decl_processing ()
   start_identifier_warnings ();
 
   init_format_info_table ();
+
+  init_iterators ();
 }
 
 /* Return a definition for a builtin function named NAME and whose data type
@@ -4473,11 +4475,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
 
        if (specbits & 1 << (int) RID_ITERATOR)
          ITERATOR_P (decl) = 1;
-      {
-       error ("iterator `%s' has derived type", name);
-       type = error_mark_node;
-      }
-
       }
 
     /* Record `register' declaration for warnings on &