diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2005-11-05 20:43:15 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-11-05 20:43:15 +0000 |
commit | 831d78138036d234b10f475b4b03070c07437a33 (patch) | |
tree | c1899e2f344409d79e960ad2dca13c9084a91ada /gcc | |
parent | dd36d4e1da63d53dadd70ab711422ff925c6ee45 (diff) | |
download | gcc-831d78138036d234b10f475b4b03070c07437a33.zip gcc-831d78138036d234b10f475b4b03070c07437a33.tar.gz gcc-831d78138036d234b10f475b4b03070c07437a33.tar.bz2 |
decl.c, [...]: Fix comment typos.
* decl.c, trans-decl.c: Fix comment typos.
* gfortran.texi: Fix a typo.
From-SVN: r106534
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/decl.c | 4 | ||||
-rw-r--r-- | gcc/fortran/gfortran.texi | 2 | ||||
-rw-r--r-- | gcc/fortran/trans-decl.c | 2 |
4 files changed, 9 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8adf0bc..f41ac4a 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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. diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index f7734e1..aaad320 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -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) { diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 5b71f24..92a6d5f 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -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 diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 6b349a8..b44cd8f 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -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); } |