This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, fortran, docs, committed] intrinsic.texi: Minor cleanups.


Some minor cleanups to the GFortran intrinsics documentation.

Tested with "make pdf" and "make info", committed to trunk under blanket approval from Steve Kargl; will commit to 4.2 momentarily.

----------------------------------------------------------------
2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>

	* intrinsic.texi: minor typo fixes, removed prologue.
	(FSEEK): moved to correct place in alphabetical order.

----------------------------------------------------------------

- Brooks
Index: intrinsic.texi
===================================================================
--- intrinsic.texi	(revision 122725)
+++ intrinsic.texi	(working copy)
@@ -38,12 +38,6 @@
 @chapter Intrinsic Procedures
 @cindex intrinsic procedures
 
-This portion of the document is incomplete and undergoing massive expansion 
-and editing.  All contributions and corrections are strongly encouraged. 
-
-Implemented intrinsics are fully functional and available to the user to apply. 
-Some intrinsics have documentation yet to be completed as indicated by 'documentation pending'.
-
 @comment Missing intrinsics (double check with #19292)
 @comment  - MClock
 @comment  - Short
@@ -1975,8 +1969,6 @@
   print *, 'Status: ', status
 end program chmod_test
 @end smallexample
-@item @emph{Specific names}:
-@item @emph{See also}:
 
 @end table
 
@@ -3861,7 +3853,34 @@
 
 
 
+@node FSEEK
+@section @code{FSEEK} --- Low level file positioning subroutine
+@cindex @code{FSEEK} intrinsic
+@cindex file system operations
 
+Not yet implemented in GNU Fortran.
+
+@table @asis
+@item @emph{Description}:
+
+@item @emph{Standard}:
+GNU extension
+
+@item @emph{Class}:
+Subroutine
+
+@item @emph{Syntax}:
+@item @emph{Arguments}:
+@item @emph{Return value}:
+@item @emph{Example}:
+@item @emph{Specific names}:
+@item @emph{See also}:
+@uref{http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19292, g77 features lacking in gfortran}
+
+@end table
+
+
+
 @node FSTAT
 @section @code{FSTAT} --- Get file status
 @cindex @code{FSTAT} intrinsic
@@ -3900,34 +3919,6 @@
 
 
 
-@node FSEEK
-@section @code{FSEEK} --- Low level file positioning subroutine
-@cindex @code{FSEEK} intrinsic
-@cindex file system operations
-
-Not yet implemented in GNU Fortran.
-
-@table @asis
-@item @emph{Description}:
-
-@item @emph{Standard}:
-GNU extension
-
-@item @emph{Class}:
-Subroutine
-
-@item @emph{Syntax}:
-@item @emph{Arguments}:
-@item @emph{Return value}:
-@item @emph{Example}:
-@item @emph{Specific names}:
-@item @emph{See also}:
-@uref{http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19292, g77 features lacking in gfortran}
-
-@end table
-
-
-
 @node FTELL
 @section @code{FTELL} --- Current stream position
 @cindex @code{FTELL} intrinsic
@@ -4041,7 +4032,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{N}   @tab Shall of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
+@item @var{N}   @tab Shall be of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
 @item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}. 
 @end multitable
 
@@ -4138,7 +4129,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{N}   @tab Shall of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
+@item @var{N}   @tab Shall be of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
 @item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}. 
 @end multitable
 
@@ -4561,7 +4552,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL} or @code{INTEGER}.
+@item @var{X} @tab Shall be of type @code{REAL} or @code{INTEGER}.
 @end multitable
 
 @item @emph{Return value}:
@@ -4860,10 +4851,10 @@
 @end smallexample
 
 @item @emph{Note}:
-No intrinsic exists to convert a printable character string to a numerical
-value. For example, there is no intrinsic that, given the @code{CHARACTER}
-value 154, returns an @code{INTEGER} or @code{REAL} value with the
-value 154.
+No intrinsic exists to convert a printable character string to a
+numerical value. For example, there is no intrinsic that, given the
+@code{CHARACTER} value @code{'154'}, returns an @code{INTEGER} or
+@code{REAL} value with the value 154.
 
 Instead, you can use internal-file I/O to do this kind of conversion. For
 example:
@@ -5059,7 +5050,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X}    @tab shall be of type @code{INTEGER(*)},
+@item @var{X}    @tab Shall be of type @code{INTEGER(*)},
                       @code{REAL(*)}, or @code{COMPLEX(*)}.
 @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization
                       expression indicating the kind parameter of
@@ -5167,7 +5158,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{FLAG} @tab shall be a scalar @code{INTEGER} of kind 4.
+@item @var{FLAG} @tab Shall be a scalar @code{INTEGER} of kind 4.
 @end multitable
 
 @item @emph{Return value}:
@@ -6287,7 +6278,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
+@item @var{X} @tab Shall be of type @code{REAL}.
 @end multitable
 
 @item @emph{Return value}:
@@ -6519,7 +6510,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
+@item @var{X} @tab Shall be of type @code{REAL}.
 @end multitable
 
 @item @emph{Return value}:
@@ -6666,8 +6657,8 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL}
-@item @var{P} @tab shall be a scalar of the same type as @var{A} and not
+@item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
+@item @var{P} @tab Shall be a scalar of the same type as @var{A} and not
 equal to zero
 @end multitable
 
@@ -6725,8 +6716,8 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL}
-@item @var{P} @tab shall be a scalar of the same type and kind as @var{A}
+@item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
+@item @var{P} @tab Shall be a scalar of the same type and kind as @var{A}
 @end multitable
 
 @item @emph{Return value}:
@@ -6871,7 +6862,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
+@item @var{X} @tab Shall be of type @code{REAL}.
 @item @var{S} @tab (Optional) shall be of type @code{REAL} and
 not equal to zero.
 @end multitable
@@ -7176,7 +7167,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL} or @code{COMPLEX}.
+@item @var{X} @tab Shall be of type @code{REAL} or @code{COMPLEX}.
 @end multitable
 
 @item @emph{Return value}:
@@ -7333,7 +7324,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{FLAG} @tab shall be a scalar @code{INTEGER} of kind 4.
+@item @var{FLAG} @tab Shall be a scalar @code{INTEGER} of kind 4.
 @end multitable
 
 @item @emph{Return value}:
@@ -7428,7 +7419,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL} or @code{COMPLEX}.
+@item @var{X} @tab Shall be of type @code{REAL} or @code{COMPLEX}.
 @end multitable
 
 @item @emph{Return value}:
@@ -7467,7 +7458,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X}    @tab shall be @code{INTEGER(*)}, @code{REAL(*)}, or
+@item @var{X}    @tab Shall be @code{INTEGER(*)}, @code{REAL(*)}, or
                       @code{COMPLEX(*)}.
 @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization
                       expression indicating the kind parameter of
@@ -7613,7 +7604,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
+@item @var{X} @tab Shall be of type @code{REAL}.
 @end multitable
 
 @item @emph{Return value}:
@@ -7802,7 +7793,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{I} @tab shall be a scalar and of type @code{INTEGER}.
+@item @var{I} @tab Shall be a scalar and of type @code{INTEGER}.
 @end multitable
 
 @item @emph{Example}:
@@ -7907,8 +7898,8 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
-@item @var{I} @tab shall be of type @code{INTEGER}.
+@item @var{X} @tab Shall be of type @code{REAL}.
+@item @var{I} @tab Shall be of type @code{INTEGER}.
 @end multitable
 
 @item @emph{Return value}:
@@ -7977,8 +7968,8 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL}
-@item @var{B} @tab shall be a scalar of the same type and kind as @var{A}
+@item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
+@item @var{B} @tab Shall be a scalar of the same type and kind as @var{A}
 @end multitable
 
 @item @emph{Return value}:
@@ -8039,7 +8030,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{NUMBER} @tab shall be a scalar integer, with @code{INTENT(IN)}
+@item @var{NUMBER} @tab Shall be a scalar integer, with @code{INTENT(IN)}
 @item @var{HANDLER}@tab Signal handler (@code{INTEGER FUNCTION} or
 @code{SUBROUTINE}) or dummy/global @code{INTEGER} scalar.
 @code{INTEGER}. It is @code{INTENT(IN)}.
@@ -8382,7 +8373,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{SEED} @tab shall be a scalar @code{INTEGER(kind=4)}.
+@item @var{SEED} @tab Shall be a scalar @code{INTEGER(kind=4)}.
 @end multitable
 
 @item @emph{Return value}:
@@ -8805,7 +8796,7 @@
 
 @item @emph{Arguments}:
 @multitable @columnfractions .15 .70
-@item @var{X} @tab shall be of type @code{REAL}.
+@item @var{X} @tab Shall be of type @code{REAL}.
 @end multitable
 
 @item @emph{Return value}:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]