diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-07-21 19:17:08 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2008-07-21 19:17:08 +0000 |
commit | df2fba9e343385222745d9e99cbaae29026a263d (patch) | |
tree | b4aa45858530c5447d03da6b7e211c2d414973d2 /gcc/fortran/resolve.c | |
parent | 2e7628842865d7de2eeb170af79f0fc38c057d9c (diff) | |
download | gcc-df2fba9e343385222745d9e99cbaae29026a263d.zip gcc-df2fba9e343385222745d9e99cbaae29026a263d.tar.gz gcc-df2fba9e343385222745d9e99cbaae29026a263d.tar.bz2 |
fmt_g0_3.f08: Fix typo in expected error message.
gcc/testsuite/
* gfortran.dg/fmt_g0_3.f08: Fix typo in expected error message.
gcc/fortran/
* expr.c (gfc_check_pointer_assign): Fix typo in string.
* io.c (check_format): Fix typo in string. Fix comment typos.
* parse.c (gfc_global_used): Likewise.
* resolve.c (resolve_allocate_expr): Likewise.
* symbol.c (gfc_set_default_type): Likewise.
* arith.c: Fix typos in comments.
* array.c: Likewise.
* data.c: Likewise.
* decl.c: Likewise.
* dependency.c: Likewise.
* f95-lang.c: Likewise.
* gfortran.h: Likewise.
* matchexp.c: Likewise.
* module.c: Likewise.
* primary.c: Likewise.
* scanner.c: Likewise.
* trans-array.c: Likewise.
* trans-common.c: Likewise.
* trans-decl.c: Likewise.
* trans-expr.c: Likewise.
* trans-intrinsic.c: Likewise.
* trans-types.c: Likewise.
* trans.c: Likewise.
* trans.h: Likewise.
From-SVN: r138040
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r-- | gcc/fortran/resolve.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index 758f86f..056ff0e 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -1,4 +1,4 @@ -/* Perform type resolution on the various stuctures. +/* Perform type resolution on the various structures. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Andy Vaught @@ -1568,7 +1568,7 @@ resolve_specific_f0 (gfc_symbol *sym, gfc_expr *expr) gfc_intrinsic_sym *isym; isym = gfc_find_function (sym->ts.interface->name); - /* Existance of isym should be checked already. */ + /* Existence of isym should be checked already. */ gcc_assert (isym); sym->ts.type = isym->ts.type; @@ -2644,7 +2644,7 @@ resolve_specific_s0 (gfc_code *c, gfc_symbol *sym) isym = gfc_find_function (sym->ts.interface->name); - /* Existance of isym should be checked already. */ + /* Existence of isym should be checked already. */ gcc_assert (isym); sym->ts.type = isym->ts.type; @@ -3185,7 +3185,7 @@ resolve_operator (gfc_expr *e) { t = gfc_simplify_expr (e, 0); /* Some calls do not succeed in simplification and return FAILURE - even though there is no error; eg. variable references to + even though there is no error; e.g. variable references to PARAMETER arrays. */ if (!gfc_is_constant_expr (e)) t = SUCCESS; @@ -4873,7 +4873,7 @@ check_symbols: || (ar->end[i] != NULL && gfc_find_sym_in_expr (sym, ar->end[i]))) { - gfc_error ("'%s' must not appear an the array specification at " + gfc_error ("'%s' must not appear in the array specification at " "%L in the same ALLOCATE statement where it is " "itself allocated", sym->name, &ar->where); return FAILURE; @@ -5999,7 +5999,7 @@ gfc_resolve_blocks (gfc_code *b, gfc_namespace *ns) /* Does everything to resolve an ordinary assignment. Returns true - if this is an interface asignment. */ + if this is an interface assignment. */ static bool resolve_ordinary_assign (gfc_code *code, gfc_namespace *ns) { @@ -7251,7 +7251,7 @@ resolve_fl_procedure (gfc_symbol *sym, int mp_flag) } /* Ensure that derived type for are not of a private type. Internal - module procedures are excluded by 2.2.3.3 - ie. they are not + module procedures are excluded by 2.2.3.3 - i.e., they are not externally accessible and can access all the objects accessible in the host. */ if (!(sym->ns->parent @@ -7563,7 +7563,7 @@ gfc_resolve_finalizers (gfc_symbol* derived) prev_link = &list->next; continue; - /* Remove wrong nodes immediatelly from the list so we don't risk any + /* Remove wrong nodes immediately from the list so we don't risk any troubles in the future when they might fail later expectations. */ error: result = FAILURE; @@ -8642,7 +8642,7 @@ resolve_data (gfc_data *d) is storage associated with any such variable, shall not be used in the following contexts: (clients of this function). */ -/* Determines if a variable is not 'pure', ie not assignable within a pure +/* Determines if a variable is not 'pure', i.e., not assignable within a pure procedure. Returns zero if assignment is OK, nonzero if there is a problem. */ int |