diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-08-25 00:58:27 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-08-25 00:58:27 +0000 |
commit | 83bab8db08a04afe820ffd6b159a0de852ef0ae0 (patch) | |
tree | db5daa1309969dcd75e507b485cbdcb1ec86be2a /gcc/c-lex.c | |
parent | aee3c6b0389ecf8b01ee17fa25dc00b0666ee27c (diff) | |
download | gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.zip gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.tar.gz gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.tar.bz2 |
Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
* Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
(c-iterate.o): Remove target.
* gcc/c-common.h (enum rid): Remove RID_ITERATOR.
* gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
(finish_decl): Don't handle iterators.
(grokdeclarator): Likewise.
* gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
* gcc/c-gperf.h: Regenerated.
* gcc/c-iterate.c: Removed.
* gcc/c-lex.c (init_lex): Don't handle iterators.
* gcc/c-parse.in (primary): Remove pop_iterator_stack call.
(compstmt_primary_start): Remove push_iterator_stack call.
(stmt): Don't allow iterator statements. Replace iterator_expand
with expand_expr_stmt.
(all_iter_stmt): Remove.
(all_iter_stmt_simple): Likewise.
(all_iter_stmt_with_decl): Likewise.
* gcc/c-tree.h (ITERATOR_P): Remove.
(ITERATOR_BOUND_P): Likewise.
(init_iterators): Remove declaration.
(iterator_expand): Likewise.
(iterator_for_loop_start): Likewise.
(iterator_for_loop_end): Likewise.
(iterator_for_loop_record): Likewise.
(push_iterator_stack): Likewise.
(pop_iterator_stack): Likewise.
* gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
(readonly_warning): Likewise.
* gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
* Make-lang.in (cc1chill): Don't depend on c-iterate.o.
* gcc.dg/noncompile/930622-2.c: Adjust error message.
From-SVN: r35967
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index c1b85c7..867c7be 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -300,7 +300,6 @@ init_lex () ridpointers[(int) RID_EXTERN] = get_identifier ("extern"); ridpointers[(int) RID_TYPEDEF] = get_identifier ("typedef"); ridpointers[(int) RID_REGISTER] = get_identifier ("register"); - ridpointers[(int) RID_ITERATOR] = get_identifier ("iterator"); ridpointers[(int) RID_COMPLEX] = get_identifier ("complex"); ridpointers[(int) RID_ID] = get_identifier ("id"); ridpointers[(int) RID_IN] = get_identifier ("in"); @@ -328,7 +327,6 @@ init_lex () UNSET_RESERVED_WORD ("typeof"); UNSET_RESERVED_WORD ("signed"); UNSET_RESERVED_WORD ("inline"); - UNSET_RESERVED_WORD ("iterator"); UNSET_RESERVED_WORD ("complex"); } else if (!flag_isoc99) @@ -340,7 +338,6 @@ init_lex () UNSET_RESERVED_WORD ("typeof"); if (! flag_isoc99) UNSET_RESERVED_WORD ("inline"); - UNSET_RESERVED_WORD ("iterator"); UNSET_RESERVED_WORD ("complex"); } } |