This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[documentation, fortran, committed] fix minor doc issues
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Apr 2007 17:05:31 +0200
- Subject: [documentation, fortran, committed] fix minor doc issues
Attached patch was committed as obvious to 4.2 and mainline (assuming 4.2 not
to be frozen yet).
2007-04-30 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (IERRNO): Changed class to non-elemental function.
(LOG10): Removed COMPLEX as accepted argument type.
(NEW_LINE): Changed class from elemental to inquiry function.
(SIGN): Removed requirement of scalar arguments.
(SNGL): Changed class to elemental function.
Tested info, dvi and html targets on i686-pc-linux-gnu.
Regards
Daniel
Index: intrinsic.texi
===================================================================
--- intrinsic.texi (revision 124295)
+++ intrinsic.texi (working copy)
@@ -5109,7 +5109,7 @@
GNU extension
@item @emph{Class}:
-Elemental function
+Non-elemental function
@item @emph{Syntax}:
@code{RESULT = IERRNO()}
@@ -6131,8 +6131,7 @@
@item @emph{Arguments}:
@multitable @columnfractions .15 .70
-@item @var{X} @tab The type shall be @code{REAL(*)} or
-@code{COMPLEX(*)}.
+@item @var{X} @tab The type shall be @code{REAL(*)}.
@end multitable
@item @emph{Return value}:
@@ -7268,7 +7267,7 @@
F2003 and later
@item @emph{Class}:
-Elemental function
+Inquiry function
@item @emph{Syntax}:
@code{RESULT = NEW_LINE(C)}
@@ -8665,8 +8664,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 of type @code{INTEGER} or @code{REAL}
+@item @var{B} @tab Shall be of the same type and kind as @var{A}
@end multitable
@item @emph{Return value}:
@@ -8953,7 +8952,7 @@
GNU extension
@item @emph{Class}:
-function
+Elemental function
@item @emph{Syntax}:
@code{RESULT = SNGL(A)}