data.c, [...]: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 26 May 2005 18:36:11 +0000 (18:36 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 26 May 2005 18:36:11 +0000 (18:36 +0000)
* data.c, parse.c, trans-array.c, trans-decl.c,
trans-intrinsic.c, trans-stmt.c, trans-types.c, trans.c,
trans.h: Fix comment typos.  Follow spelling conventions.

From-SVN: r100219

gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/fortran/parse.c
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans-types.c
gcc/fortran/trans.c
gcc/fortran/trans.h

index 711cb74deb190849896c8ad7fdd58b6572b063f9..face053f14b4a856b37fb578236932b08bea398b 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-26  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * data.c, parse.c, trans-array.c, trans-decl.c,
+       trans-intrinsic.c, trans-stmt.c, trans-types.c, trans.c,
+       trans.h: Fix comment typos.  Follow spelling conventions.
+
 2005-05-22  Roger Sayle  <roger@eyesopen.com>
 
        * gfortran.texi: Document some more GNU extensions.
index 5a74516c75857e74d18713d3c76075c92b59678c..17354d2fbe73b85e9102dac193634c8ef0cf3292 100644 (file)
@@ -132,7 +132,7 @@ find_con_by_component (gfc_component *com, gfc_constructor *con)
 }
 
 
-/* Create a character type intialization expression from RVALUE.
+/* Create a character type initialization expression from RVALUE.
    TS [and REF] describe [the substring of] the variable being initialized.
    INIT is thh existing initializer, not NULL.  Initialization is performed
    according to normal assignment rules.  */
@@ -556,7 +556,7 @@ formalize_structure_cons (gfc_expr * expr)
 
   c = expr->value.constructor;
 
-  /* Constructor is already fomalized.  */
+  /* Constructor is already formalized.  */
   if (c->n.component == NULL)
     return;
 
index 94bf6d0d28d7fa27bbd1cb14907471c56a1fa8e5..13b815ad62e986844805664ff5f9969a37113215 100644 (file)
@@ -2157,7 +2157,7 @@ gfc_fixup_sibling_symbols (gfc_symbol * sym, gfc_namespace * siblings)
             gfc_free_symbol (old_sym);
         }
 
-      /* Do the same for any contined procedures.  */
+      /* Do the same for any contained procedures.  */
       gfc_fixup_sibling_symbols (sym, ns->contained);
     }
 }
index 87e37ea63088e0d878e92f4967ef73f02c6d08cf..4d95b2e89b27bac3e67b8526ddd2d877641d7d61 100644 (file)
@@ -4349,7 +4349,7 @@ gfc_walk_array_constructor (gfc_ss * ss, gfc_expr * expr)
 
 
 /* Walk an expression.  Add walked expressions to the head of the SS chain.
-   A wholy scalar expression will not be added.  */
+   A wholly scalar expression will not be added.  */
 
 static gfc_ss *
 gfc_walk_subexpr (gfc_ss * ss, gfc_expr * expr)
index 3d89effb7c2af438bb2706de1a4116f6f50ccd4a..4e32307ba120ff416eb94f15f9311ea0e7b4e071 100644 (file)
@@ -537,7 +537,7 @@ gfc_build_qualified_array (tree decl, gfc_symbol * sym)
     {
       if (GFC_TYPE_ARRAY_LBOUND (type, dim) == NULL_TREE)
         GFC_TYPE_ARRAY_LBOUND (type, dim) = create_index_var ("lbound", nest);
-      /* Don't try to use the unkown bound for assumed shape arrays.  */
+      /* Don't try to use the unknown bound for assumed shape arrays.  */
       if (GFC_TYPE_ARRAY_UBOUND (type, dim) == NULL_TREE
           && (sym->as->type != AS_ASSUMED_SIZE
               || dim < GFC_TYPE_ARRAY_RANK (type) - 1))
index 97f00dc441a15c22fbda0129883b8e69de9dabfb..8a0cfe43422032851429406cc492a22f33653f47 100644 (file)
@@ -158,7 +158,7 @@ gfc_conv_intrinsic_function_args (gfc_se * se, gfc_expr * expr)
   args = NULL_TREE;
   for (actual = expr->value.function.actual; actual; actual = actual->next)
     {
-      /* Skip ommitted optional arguments.  */
+      /* Skip omitted optional arguments.  */
       if (!actual->expr)
        continue;
 
index d3e86dd9d9dcbea4f93f16985cf8cf20cffa5ea9..85f2660bf7c9a9b307260ef34672416a052367dc 100644 (file)
@@ -2965,7 +2965,7 @@ gfc_trans_where_assign (gfc_expr *expr1, gfc_expr *expr2, tree mask,
 
 
 /* Translate the WHERE construct or statement.
-   This fuction can be called iteratively to translate the nested WHERE
+   This function can be called iteratively to translate the nested WHERE
    construct or statement.
    MASK is the control mask, and PMASK is the pending control mask.
    TEMP records the temporary address which must be freed later.  */
index a70784cbf3c4fc6cf30563ac683b993be9464fd3..1338297c3e8cee505e9328239faa413fb5e7c3f2 100644 (file)
@@ -1611,7 +1611,7 @@ gfc_get_function_type (gfc_symbol * sym)
             The problem arises if a function is called via an implicit
             prototype. In this situation the INTENT is not known.
             For this reason all parameters to global functions must be
-            passed by reference.  Passing by value would potentialy
+            passed by reference.  Passing by value would potentially
             generate bad code.  Worse there would be no way of telling that
             this code was bad, except that it would give incorrect results.
 
index 70630cbecabab59f42550e209dd672ce443b9d63..c4ae36674dee2452ea7fa8f733a477c961e82fb9 100644 (file)
@@ -314,7 +314,7 @@ gfc_build_array_ref (tree base, tree offset)
 }
 
 
-/* Given a funcion declaration FNDECL and an argument list ARGLIST,
+/* Given a function declaration FNDECL and an argument list ARGLIST,
    build a CALL_EXPR.  */
 
 tree
index d44c67d6d48ee72c431fdd2b2748e1deb2317955..f3bcbaa386d5e94804194d3e0deaaee305ed5d34 100644 (file)
@@ -251,8 +251,8 @@ gfc_saved_var;
 /* Advance the SS chain to the next term.  */
 void gfc_advance_se_ss_chain (gfc_se *);
 
-/* Call this to initialise a gfc_se structure before use
-   first parameter is structure to initialise, second is
+/* Call this to initialize a gfc_se structure before use
+   first parameter is structure to initialize, second is
    parent to get scalarization data from, or NULL.  */
 void gfc_init_se (gfc_se *, gfc_se *);