summaryrefslogtreecommitdiffstats
path: root/gcc/fortran/gfortran.h
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 16:58:39 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 16:58:39 +0000
commitb4f45d022de923c12fe88cd2726ed95b63990d38 (patch)
tree7bdfd86accd5c303039855aeeec2bd0434510805 /gcc/fortran/gfortran.h
parentf0d56abfe8389789fa00ce60027cfe8247bcd3b2 (diff)
downloadppe42-gcc-b4f45d022de923c12fe88cd2726ed95b63990d38.tar.gz
ppe42-gcc-b4f45d022de923c12fe88cd2726ed95b63990d38.zip
fortran/
PR fortran/13910 * decl.c (free_variable, free_value, gfc_free_data, var_list, var_element, top_var_list, match_data_constant, top_val_list, gfc_match_data): Move here from match.c. (match_old_style_init): New function. (variable_decl): Match old-style initialization. * expr.c (gfc_get_variable_expr): New function. * gfortran.h (gfc_get_variable_expr): Add prototype. * gfortran.texi: Start documentation for supported extensions. * match.c: Remove the functions moved to decl.c. * match.h (gfc_match_data): Move prototype to under decl.c. * symbol.c (gfc_find_sym_tree, gfc_find_symbol): Add/correct comments. testsuite/ PR fortran/13910 * gfortran.dg/oldstyle_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86729 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r--gcc/fortran/gfortran.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index 89c182d507c..3c5e69a906b 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -789,6 +789,8 @@ typedef struct gfc_namespace
gfc_access default_access, operator_access[GFC_INTRINSIC_OPS];
gfc_st_label *st_labels;
+ /* This list holds information about all the data initializers in
+ this namespace. */
struct gfc_data *data;
gfc_charlen *cl_list;
@@ -1688,6 +1690,8 @@ try gfc_check_pointer_assign (gfc_expr *, gfc_expr *);
try gfc_check_assign_symbol (gfc_symbol *, gfc_expr *);
gfc_expr *gfc_default_initializer (gfc_typespec *);
+gfc_expr *gfc_get_variable_expr (gfc_symtree *);
+
/* st.c */
extern gfc_code new_st;
OpenPOWER on IntegriCloud