diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-18 23:18:36 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-18 23:18:36 +0000 |
commit | 5e4f99887b534eccbbf1a7722b3b099ea0e64d2d (patch) | |
tree | b4a745279c572b08d93715d1c76a506422218e89 /gcc/c-tree.h | |
parent | c6b629dcc1c16aa7aab0759c7de62e365f7cbfbd (diff) | |
download | gcc-5e4f99887b534eccbbf1a7722b3b099ea0e64d2d.tar.gz |
* c-decl.c (check_for_loop_decls): New function.
* c-parse.in (for_init_stmt): New.
(select_or_iter_stmt): Use for_init_stmt.
* c-tree.h (check_for_loop_decls): New declaration.
testsuite:
* gcc.dg/c90-fordecl-1.c, gcc.dg/c99-fordecl-1.c,
gcc.dg/c99-fordecl-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37549 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index efd5083e7eb..669c89b7d1b 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -170,6 +170,7 @@ extern tree build_enumerator PARAMS ((tree, tree)); ((VOLATILE_P) ? TYPE_QUAL_VOLATILE : 0)) extern int c_decode_option PARAMS ((int, char **)); extern void c_mark_varargs PARAMS ((void)); +extern void check_for_loop_decls PARAMS ((void)); extern tree check_identifier PARAMS ((tree, tree)); extern void clear_parm_order PARAMS ((void)); extern tree combine_parm_decls PARAMS ((tree, tree, int)); |