From 831d78138036d234b10f475b4b03070c07437a33 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 5 Nov 2005 20:43:15 +0000 Subject: [PATCH] decl.c, [...]: Fix comment typos. * decl.c, trans-decl.c: Fix comment typos. * gfortran.texi: Fix a typo. From-SVN: r106534 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/decl.c | 4 ++-- gcc/fortran/gfortran.texi | 2 +- gcc/fortran/trans-decl.c | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8adf0bc9797..f41ac4a04bd 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2005-11-05 Kazu Hirata + + * decl.c, trans-decl.c: Fix comment typos. + * gfortran.texi: Fix a typo. + 2005-11-05 Francois-Xavier Coudert * intrinsic.c (add_functions): Add function version of TTYNAM. diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index f7734e1b6c7..aaad320971b 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 5b71f244911..92a6d5f4593 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 6b349a854a6..b44cd8fbf17 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); } -- 2.30.2