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/io.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/io.c')
-rw-r--r-- | gcc/fortran/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c index 4af0971..5d3f454 100644 --- a/gcc/fortran/io.c +++ b/gcc/fortran/io.c @@ -696,7 +696,7 @@ data_desc: goto syntax; } - if (gfc_notify_std (GFC_STD_F2008, "Fortran F2008: 'G0' in " + if (gfc_notify_std (GFC_STD_F2008, "Fortran 2008: 'G0' in " "format at %C") == FAILURE) return FAILURE; @@ -2489,9 +2489,9 @@ gfc_resolve_dt (gfc_dt *dt) else { /* At this point, we have an extra comma. If io_unit has arrived as - type chracter, we assume its really the "format" form of the I/O + type character, we assume its really the "format" form of the I/O statement. We set the io_unit to the default unit and format to - the chracter expression. See F95 Standard section 9.4. */ + the character expression. See F95 Standard section 9.4. */ io_kind k; k = dt->extra_comma->value.iokind; if (e->ts.type == BT_CHARACTER && (k == M_READ || k == M_PRINT)) |