Commit 49de9e73 by Kazu Hirata Committed by Kazu Hirata

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

	* decl.c, dump-parse-tree.c, gfortran.texi, intrinsic.texi,
	invoke.texi, resolve.c, trans-array.c, trans-array.h,
	trans-common.c, trans-expr.c, trans-io.c, trans.h: Fix
	comment/doc typos.  Follow spelling conventions.

From-SVN: r102806
parent 591baeb0
2005-08-06 Kazu Hirata <kazu@codesourcery.com>
* decl.c, dump-parse-tree.c, gfortran.texi, intrinsic.texi,
invoke.texi, resolve.c, trans-array.c, trans-array.h,
trans-common.c, trans-expr.c, trans-io.c, trans.h: Fix
comment/doc typos. Follow spelling conventions.
2005-08-06 Jakub Jelinek <jakub@redhat.com> 2005-08-06 Jakub Jelinek <jakub@redhat.com>
PR fortran/18833 PR fortran/18833
......
...@@ -3229,7 +3229,7 @@ syntax: ...@@ -3229,7 +3229,7 @@ syntax:
/* Match a module procedure statement. Note that we have to modify /* Match a module procedure statement. Note that we have to modify
symbols in the parent's namespace because the current one was there symbols in the parent's namespace because the current one was there
to receive symbols that are in a interface's formal argument list. */ to receive symbols that are in an interface's formal argument list. */
match match
gfc_match_modproc (void) gfc_match_modproc (void)
......
...@@ -122,7 +122,7 @@ gfc_show_actual_arglist (gfc_actual_arglist * a) ...@@ -122,7 +122,7 @@ gfc_show_actual_arglist (gfc_actual_arglist * a)
} }
/* Show an gfc_array_spec array specification structure. */ /* Show a gfc_array_spec array specification structure. */
static void static void
gfc_show_array_spec (gfc_array_spec * as) gfc_show_array_spec (gfc_array_spec * as)
...@@ -165,7 +165,7 @@ gfc_show_array_spec (gfc_array_spec * as) ...@@ -165,7 +165,7 @@ gfc_show_array_spec (gfc_array_spec * as)
} }
/* Show an gfc_array_ref array reference structure. */ /* Show a gfc_array_ref array reference structure. */
static void static void
gfc_show_array_ref (gfc_array_ref * ar) gfc_show_array_ref (gfc_array_ref * ar)
......
...@@ -798,7 +798,7 @@ As a GNU extension for backwards compatibility with other compilers, ...@@ -798,7 +798,7 @@ As a GNU extension for backwards compatibility with other compilers,
and vice versa. When converting from a LOGICAL to an INTEGER, the numeric and vice versa. When converting from a LOGICAL to an INTEGER, the numeric
value of @code{.FALSE.} is zero, and that of @code{.TRUE.} is one. When value of @code{.FALSE.} is zero, and that of @code{.TRUE.} is one. When
converting from INTEGER to LOGICAL, the value zero is interpreted as converting from INTEGER to LOGICAL, the value zero is interpreted as
@code{.FALSE.} and any non-zero value is interpreted as @code{.TRUE.}. @code{.FALSE.} and any nonzero value is interpreted as @code{.TRUE.}.
@smallexample @smallexample
INTEGER*4 i INTEGER*4 i
......
...@@ -2684,7 +2684,7 @@ end program test_floor ...@@ -2684,7 +2684,7 @@ end program test_floor
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{FNUM(UNIT)} returns the Posix file descriptor number coresponding to the @code{FNUM(UNIT)} returns the Posix file descriptor number corresponding to the
open Fortran I/O unit @code{UNIT}. open Fortran I/O unit @code{UNIT}.
@item @emph{Option}: @item @emph{Option}:
......
...@@ -179,7 +179,7 @@ that the compiler accepts: ...@@ -179,7 +179,7 @@ that the compiler accepts:
@cindex Fortran 90, features @cindex Fortran 90, features
@item -ffree-form @item -ffree-form
@item -ffixed-form @item -ffixed-form
Specify the layout used by the the source file. The free form layout Specify the layout used by the source file. The free form layout
was introduced in Fortran 90. Fixed form was traditionally used in was introduced in Fortran 90. Fixed form was traditionally used in
older Fortran programs. older Fortran programs.
......
...@@ -404,7 +404,7 @@ resolve_entries (gfc_namespace * ns) ...@@ -404,7 +404,7 @@ resolve_entries (gfc_namespace * ns)
} }
else else
{ {
/* Otherwise the result will be passed through an union by /* Otherwise the result will be passed through a union by
reference. */ reference. */
proc->attr.mixed_entry_master = 1; proc->attr.mixed_entry_master = 1;
for (el = ns->entries; el; el = el->next) for (el = ns->entries; el; el = el->next)
......
...@@ -286,7 +286,7 @@ gfc_conv_descriptor_ubound (tree desc, tree dim) ...@@ -286,7 +286,7 @@ gfc_conv_descriptor_ubound (tree desc, tree dim)
} }
/* Build an null array descriptor constructor. */ /* Build a null array descriptor constructor. */
tree tree
gfc_build_null_descriptor (tree type) gfc_build_null_descriptor (tree type)
......
...@@ -72,7 +72,7 @@ void gfc_trans_scalarized_loop_boundary (gfc_loopinfo *, stmtblock_t *); ...@@ -72,7 +72,7 @@ void gfc_trans_scalarized_loop_boundary (gfc_loopinfo *, stmtblock_t *);
void gfc_conv_loop_setup (gfc_loopinfo *); void gfc_conv_loop_setup (gfc_loopinfo *);
/* Resolve array assignment dependencies. */ /* Resolve array assignment dependencies. */
void gfc_conv_resolve_dependencies (gfc_loopinfo *, gfc_ss *, gfc_ss *); void gfc_conv_resolve_dependencies (gfc_loopinfo *, gfc_ss *, gfc_ss *);
/* Build an null array descriptor constructor. */ /* Build a null array descriptor constructor. */
tree gfc_build_null_descriptor (tree); tree gfc_build_null_descriptor (tree);
/* Get a single array element. */ /* Get a single array element. */
......
...@@ -105,7 +105,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA ...@@ -105,7 +105,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "trans-const.h" #include "trans-const.h"
/* Holds a single variable in a equivalence set. */ /* Holds a single variable in an equivalence set. */
typedef struct segment_info typedef struct segment_info
{ {
gfc_symbol *sym; gfc_symbol *sym;
......
...@@ -1074,7 +1074,7 @@ gfc_conv_function_val (gfc_se * se, gfc_symbol * sym) ...@@ -1074,7 +1074,7 @@ gfc_conv_function_val (gfc_se * se, gfc_symbol * sym)
/* Generate code for a procedure call. Note can return se->post != NULL. /* Generate code for a procedure call. Note can return se->post != NULL.
If se->direct_byref is set then se->expr contains the return parameter. If se->direct_byref is set then se->expr contains the return parameter.
Return non-zero, if the call has alternate specifiers. */ Return nonzero, if the call has alternate specifiers. */
int int
gfc_conv_function_call (gfc_se * se, gfc_symbol * sym, gfc_conv_function_call (gfc_se * se, gfc_symbol * sym,
......
...@@ -327,7 +327,7 @@ gfc_build_io_library_fndecls (void) ...@@ -327,7 +327,7 @@ gfc_build_io_library_fndecls (void)
} }
/* Generate code to store an non-string I/O parameter into the /* Generate code to store a non-string I/O parameter into the
ioparm structure. This is a pass by value. */ ioparm structure. This is a pass by value. */
static void static void
...@@ -345,7 +345,7 @@ set_parameter_value (stmtblock_t * block, tree var, gfc_expr * e) ...@@ -345,7 +345,7 @@ set_parameter_value (stmtblock_t * block, tree var, gfc_expr * e)
} }
/* Generate code to store an non-string I/O parameter into the /* Generate code to store a non-string I/O parameter into the
ioparm structure. This is pass by reference. */ ioparm structure. This is pass by reference. */
static void static void
......
...@@ -357,7 +357,7 @@ tree gfc_build_indirect_ref (tree); ...@@ -357,7 +357,7 @@ tree gfc_build_indirect_ref (tree);
/* Build an ARRAY_REF. */ /* Build an ARRAY_REF. */
tree gfc_build_array_ref (tree, tree); tree gfc_build_array_ref (tree, tree);
/* Creates an label. Decl is artificial if label_id == NULL_TREE. */ /* Creates a label. Decl is artificial if label_id == NULL_TREE. */
tree gfc_build_label_decl (tree); tree gfc_build_label_decl (tree);
/* Return the decl used to hold the function return value. /* Return the decl used to hold the function return value.
...@@ -420,7 +420,7 @@ void gfc_trans_runtime_check (tree, tree, stmtblock_t *); ...@@ -420,7 +420,7 @@ void gfc_trans_runtime_check (tree, tree, stmtblock_t *);
/* Generate code for an assignment, includes scalarization. */ /* Generate code for an assignment, includes scalarization. */
tree gfc_trans_assignment (gfc_expr *, gfc_expr *); tree gfc_trans_assignment (gfc_expr *, gfc_expr *);
/* Generate code for an pointer assignment. */ /* Generate code for a pointer assignment. */
tree gfc_trans_pointer_assignment (gfc_expr *, gfc_expr *); tree gfc_trans_pointer_assignment (gfc_expr *, gfc_expr *);
/* Initialize function decls for library functions. */ /* Initialize function decls for library functions. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment