[patch] fortran: Fix comment typos.
Kazu Hirata
kazu@codesourcery.com
Sat Nov 5 20:43:00 GMT 2005
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);
}
More information about the Fortran
mailing list