]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.texi, [...]: Fix typo.
authorKazu Hirata <kazu@codesourcery.com>
Sun, 3 Jul 2005 18:39:20 +0000 (18:39 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 3 Jul 2005 18:39:20 +0000 (18:39 +0000)
* gfortran.texi, intrinsic.texi: Fix typo.
* symbol.c: Fix a comment typo.

From-SVN: r101559

gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi
gcc/fortran/intrinsic.texi
gcc/fortran/symbol.c

index b589f66711e896a6ffb71c9b78fc0bb53bd89fc4..ae715c88919ae526bbe40f14475e08c8340c2370 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * gfortran.texi, intrinsic.texi: Fix typo.
+       * symbol.c: Fix a comment typo.
+
 2005-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * error.c (error_printf, error_print): Use ATTRIBUTE_GCC_GFC.
index 7d78331629c40a39ed43188af466083542687d50..a1bc8782705a5d2d78c09671f57c57cfcc8bc16e 100644 (file)
@@ -792,7 +792,7 @@ operators without the need for parenthesis.
 @section Implicitly interconvert LOGICAL and INTEGER
 @cindex Implicitly interconvert LOGICAL and INTEGER
 
-As a GNU extension for backwards compatability with other compilers,
+As a GNU extension for backwards compatibility with other compilers,
 @command{gfortran} allows the implicit conversion of LOGICALs to INTEGERs
 and vice versa.  When converting from a LOGICAL to an INTEGER, the numeric
 value of @code{.FALSE.} is zero, and that of @code{.TRUE.} is one.  When
index 72fb77beb7a88af8adad9d37d9aaeec79d4d35d6..3c65474ba89595af00b045f7e9b1d0aa5e1f5954 100644 (file)
@@ -64,7 +64,7 @@ and editing.  All contributions and corrections are strongly encouraged.
 * @code{CONJG}:         CONJG,     Complex conjugate function
 * @code{COS}:           COS,       Cosine function
 * @code{COSH}:          COSH,      Hyperbolic cosine function
-* @code{COUNT}:         COUNT,     Count occurences of .TRUE. in an array
+* @code{COUNT}:         COUNT,     Count occurrences of .TRUE. in an array
 * @code{CPU_TIME}:      CPU_TIME,  CPU time subroutine
 * @code{CSHIFT}:        CSHIFT,    Circular array shift function
 * @code{DATE_AND_TIME}: DATE_AND_TIME, Date and time subroutine
@@ -1806,7 +1806,7 @@ subroutine
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .80
 @item @var{DATE}  @tab (Optional) The type shall be @code{CHARACTER(8)} or larger.
-@item @var{TIME}  @tab (OPtional) The type shall be @code{CHARACTER(10)} or larger.
+@item @var{TIME}  @tab (Optional) The type shall be @code{CHARACTER(10)} or larger.
 @item @var{ZONE}  @tab (Optional) The type shall be @code{CHARACTER(5)} or larger.
 @item @var{VALUES}@tab (Optional) The type shall be @code{INTEGER(8)}.
 @end multitable
@@ -2253,7 +2253,7 @@ rank of @var{ARRAY}.  If the rank of @var{ARRAY} is one, then all elements of
 @var{ARRAY} are shifted by @var{SHIFT} places.  If rank is greater than one,
 then all complete rank one sections of @var{ARRAY} along the given dimension are
 shifted.  Elements shifted out one end of each rank one section are dropped.  If
-@var{BOUNDARY} is present then the cooresponding value of from @var{BOUNDARY}
+@var{BOUNDARY} is present then the corresponding value of from @var{BOUNDARY}
 is copied back in the other end.  If @var{BOUNDARY} is not present then the
 following are copied in depending on the type of @var{ARRAY}.
 
@@ -2511,7 +2511,7 @@ end program test_etime
 @table @asis
 @item @emph{Description}:
 @code{EXIT} causes immediate termination of the program with status.  If status
-is omitted it returns the connonical @emph{success} for the system.  All Fortran
+is omitted it returns the canonical @emph{success} for the system.  All Fortran
 I/O units are closed. 
 
 @item @emph{Option}:
index 2fd61c3dfa153eefd90f450aa7e4a7bf257892dd..c2ee22375662a78f4b061b15166e7c58308ae109 100644 (file)
@@ -2342,7 +2342,7 @@ gfc_is_var_automatic (gfc_symbol * sym)
   if (sym->attr.dimension && sym->as
       && !gfc_is_compile_time_shape (sym->as))
     return true;
-  /* Check for non-constant length character vairables.  */
+  /* Check for non-constant length character variables.  */
   if (sym->ts.type == BT_CHARACTER
       && sym->ts.cl
       && gfc_is_constant_expr (sym->ts.cl->length))