This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch] fortran: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 5 Nov 2005 12:43:35 -0800
- Subject: [patch] fortran: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2005-11-05 Kazu Hirata <kazu@codesourcery.com>
* decl.c, trans-decl.c: Fix comment typos.
* gfortran.texi: Fix a typo.
Index: fortran/decl.c
===================================================================
--- fortran/decl.c (revision 106531)
+++ fortran/decl.c (working copy)
@@ -702,7 +702,7 @@ gfc_set_constant_character_len (int len,
}
-/* Function to create and update the enumumerator history
+/* Function to create and update the enumerator history
using the information passed as arguments.
Pointer "max_enum" is also updated, to point to
enum history node containing largest initializer.
@@ -1982,7 +1982,7 @@ match_attr_spec (void)
}
}
- /* If we are parsing an enumeration and have enusured that no other
+ /* If we are parsing an enumeration and have ensured that no other
attributes are present we can now set the parameter attribute. */
if (gfc_current_state () == COMP_ENUM)
{
Index: fortran/gfortran.texi
===================================================================
--- fortran/gfortran.texi (revision 106531)
+++ fortran/gfortran.texi (working copy)
@@ -780,7 +780,7 @@ are stored as byte strings, one characte
@command{gfortran} supports Hollerith constants. They can be used as the right
hands in the @code{DATA} statement and @code{ASSIGN} statement, also as the
arguments. The left hands can be of Integer, Real, Complex and Logical type.
-The constant will be padded or trancated to fit the size of left hand.
+The constant will be padded or truncated to fit the size of left hand.
Valid Hollerith constants examples:
@smallexample
Index: fortran/trans-decl.c
===================================================================
--- fortran/trans-decl.c (revision 106531)
+++ fortran/trans-decl.c (working copy)
@@ -372,7 +372,7 @@ gfc_finish_cray_pointee (tree decl, gfc_
if (sym->attr.dimension
&& TREE_CODE (TREE_TYPE (decl)) == POINTER_TYPE)
{
- /* These decls will be derefenced later, so we don't dereference
+ /* These decls will be dereferenced later, so we don't dereference
them here. */
value = convert (TREE_TYPE (decl), ptr_decl);
}