aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/parse.h
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-10-24 11:11:51 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-10-24 09:11:51 +0000
commit4c93c95ac5086b4bb0562e87dcfc338bd4b2225b (patch)
tree0248353a9119382348e932d54cf3de18649875b6 /gcc/fortran/parse.h
parent835681c8a218a2625d97f84c08a3789b373a2336 (diff)
downloadgcc-4c93c95ac5086b4bb0562e87dcfc338bd4b2225b.zip
gcc-4c93c95ac5086b4bb0562e87dcfc338bd4b2225b.tar.gz
gcc-4c93c95ac5086b4bb0562e87dcfc338bd4b2225b.tar.bz2
re PR fortran/15586 (gfortran should support i18n in its compiler messages)
PR fortran/15586 * arith.c (gfc_arith_error): Change message to include locus. (check_result, eval_intrinsic, gfc_int2int, gfc_real2real, gfc_real2complex, gfc_complex2real, gfc_complex2complex): Use the new gfc_arith_error. (arith_error): Rewrite full error messages instead of building them from pieces. * check.c (must_be): Removed. (type_check, numeric_check, int_or_real_check, real_or_complex_check, kind_check, double_check, logical_array_check, array_check, scalar_check, same_type_check, rank_check, kind_value_check, variable_check, gfc_check_allocated, gfc_check_associated, gfc_check_cmplx, gfc_check_dcmplx, gfc_check_dot_product, gfc_check_index, gfc_check_kind, gfc_check_matmul, gfc_check_null, gfc_check_pack, gfc_check_precision, gfc_check_present, gfc_check_spread): Rewrite full error messages instead of building them from pieces. * decl.c (gfc_match_entry): Rewrite full error messages instead of building them from pieces. * parse.c (gfc_state_name): Remove. * parse.h: Remove prototype for gfc_state_name. From-SVN: r105844
Diffstat (limited to 'gcc/fortran/parse.h')
-rw-r--r--gcc/fortran/parse.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/parse.h b/gcc/fortran/parse.h
index 7977c63..1460ff3 100644
--- a/gcc/fortran/parse.h
+++ b/gcc/fortran/parse.h
@@ -63,6 +63,5 @@ 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 */