(init_decl_processing): Call init_iterators.
(grokdeclarator): Typo in previous change. From-SVN: r3587
This commit is contained in:
parent
4c975d0707
commit
75621238d0
@ -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 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user