decl.c, [...]: Fix comment typos.

* decl.c, trans-decl.c: Fix comment typos.
	* gfortran.texi: Fix a typo.

From-SVN: r106534
This commit is contained in:
Kazu Hirata 2005-11-05 20:43:15 +00:00 committed by Kazu Hirata
parent dd36d4e1da
commit 831d781380
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-11-05 Kazu Hirata <kazu@codesourcery.com>
* decl.c, trans-decl.c: Fix comment typos.
* gfortran.texi: Fix a typo.
2005-11-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* intrinsic.c (add_functions): Add function version of TTYNAM.

View File

@ -702,7 +702,7 @@ gfc_set_constant_character_len (int len, gfc_expr * expr)
}
/* 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)
{

View File

@ -780,7 +780,7 @@ are stored as byte strings, one character per byte.
@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

View File

@ -372,7 +372,7 @@ gfc_finish_cray_pointee (tree decl, gfc_symbol *sym)
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);
}