/* Parser header
- Copyright (C) 2003 Free Software Foundaton, Inc.
+ Copyright (C) 2003 Free Software Foundation, Inc.
Contributed by Steven Bosscher
This file is part of GCC.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA. */
+Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA. */
#ifndef GFC_PARSE_H
{
gfc_compile_state state;
gfc_symbol *sym; /* Block name associated with this level */
+ gfc_symtree *do_variable; /* For DO blocks the iterator variable. */
+
struct gfc_code *head, *tail;
struct gfc_state_data *previous;
- /* Block-specific state data. */
+ /* Block-specific state data. */
union
{
gfc_st_label *end_do_label;
#define gfc_current_block() (gfc_state_stack->sym)
#define gfc_current_state() (gfc_state_stack->state)
+int gfc_check_do_variable (gfc_symtree *);
try gfc_find_state (gfc_compile_state);
gfc_state_data *gfc_enclosing_unit (gfc_compile_state *);
const char *gfc_ascii_statement (gfc_statement);
-const char *gfc_state_name (gfc_compile_state);
#endif /* GFC_PARSE_H */