From eb6d74fa8279e1039ef80066f179528864d6db53 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 29 May 2006 05:19:37 +0000 Subject: [PATCH] options.c, [...]: Fix typos in error messages. * options.c, primary.c, resolve.c, trans-common.c: Fix typos in error messages. From-SVN: r114183 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/options.c | 2 +- gcc/fortran/primary.c | 2 +- gcc/fortran/resolve.c | 2 +- gcc/fortran/trans-common.c | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f264b29651a..efcf7398d0d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2006-05-29 Kazu Hirata + + * options.c, primary.c, resolve.c, trans-common.c: Fix typos + in error messages. + 2006-05-28 Kazu Hirata * check.c, expr.c, resolve.c, trans-common.c, diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index 278a3463924..6add2b8a3c0 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -533,7 +533,7 @@ gfc_handle_option (size_t scode, const char *arg, int value) case OPT_fmax_identifier_length_: if (value > GFC_MAX_SYMBOL_LEN) - gfc_fatal_error ("Maximum supported idenitifier length is %d", + gfc_fatal_error ("Maximum supported identifier length is %d", GFC_MAX_SYMBOL_LEN); gfc_option.max_identifier_length = value; break; diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c index 967bcb04364..8fe129457b4 100644 --- a/gcc/fortran/primary.c +++ b/gcc/fortran/primary.c @@ -265,7 +265,7 @@ match_hollerith_constant (gfc_expr ** result) } if (e->ts.kind != gfc_default_integer_kind) { - gfc_error ("Invalid Hollerith constant: Interger kind at %L " + gfc_error ("Invalid Hollerith constant: Integer kind at %L " "should be default", &old_loc); goto cleanup; } diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index c662947fb16..fef969f1be2 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -3992,7 +3992,7 @@ gfc_find_forall_index (gfc_expr *expr, gfc_symbol *symbol) break; default: - gfc_error("expresion reference type error at %L", &expr->where); + gfc_error("expression reference type error at %L", &expr->where); } tmp = tmp->next; } diff --git a/gcc/fortran/trans-common.c b/gcc/fortran/trans-common.c index 856eeeb51f1..f3b0f126bc9 100644 --- a/gcc/fortran/trans-common.c +++ b/gcc/fortran/trans-common.c @@ -848,7 +848,7 @@ align_segment (unsigned HOST_WIDE_INT * palign) { /* Aligning this field would misalign a previous field. */ gfc_error ("The equivalence set for variable '%s' " - "declared at %L violates alignment requirents", + "declared at %L violates alignment requirements", s->sym->name, &s->sym->declared_at); } offset += this_offset;