diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-11-18 23:18:36 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-11-18 23:18:36 +0000 |
commit | 77c4d6c06a83f7d86471befb76a1be433dc2e3a3 (patch) | |
tree | b4a745279c572b08d93715d1c76a506422218e89 /gcc/c-tree.h | |
parent | ce7d4fc8dd42a1885bc22d1c720c6c94314acad1 (diff) | |
download | gcc-77c4d6c06a83f7d86471befb76a1be433dc2e3a3.zip gcc-77c4d6c06a83f7d86471befb76a1be433dc2e3a3.tar.gz gcc-77c4d6c06a83f7d86471befb76a1be433dc2e3a3.tar.bz2 |
c-decl.c (check_for_loop_decls): New function.
* 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.
From-SVN: r37549
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 efd5083..669c89b 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)); |