aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-01-13 23:00:50 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2011-01-13 23:00:50 +0100
commit4975dfd9c981c8d1f192846350b9f71ff93ab394 (patch)
treee806b4433a69126be4677f372e49b11c0dd11d73
parentdde8a3a47e4c13fd3ac3d6bb542c96020be65598 (diff)
downloadgcc-4975dfd9c981c8d1f192846350b9f71ff93ab394.zip
gcc-4975dfd9c981c8d1f192846350b9f71ff93ab394.tar.gz
gcc-4975dfd9c981c8d1f192846350b9f71ff93ab394.tar.bz2
re PR libfortran/47268 (Documentation: missing (Optional) keyword for parameters of get_command_argument() and get_environment_variable())
2011-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/47268 * intrinsic.texi (get_command_argument, * get_environment_variable): Mark arguments as optional in the Arguments section. From-SVN: r168766
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/intrinsic.texi14
2 files changed, 13 insertions, 7 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 223acd0..0699e80 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-13 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/47268
+ * intrinsic.texi (get_command_argument, get_environment_variable):
+ Mark arguments as optional in the Arguments section.
+
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
Tobias Burnus <burnus@net-b.de>
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 695cadd..49f1b6e 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -5354,11 +5354,11 @@ Subroutine
@multitable @columnfractions .15 .70
@item @var{NUMBER} @tab Shall be a scalar of type @code{INTEGER} and of
default kind, @math{@var{NUMBER} \geq 0}
-@item @var{VALUE} @tab Shall be a scalar of type @code{CHARACTER}
+@item @var{VALUE} @tab (Optional) Shall be a scalar of type @code{CHARACTER}
and of default kind.
-@item @var{LENGTH} @tab (Option) Shall be a scalar of type @code{INTEGER}
+@item @var{LENGTH} @tab (Optional) Shall be a scalar of type @code{INTEGER}
and of default kind.
-@item @var{STATUS} @tab (Option) Shall be a scalar of type @code{INTEGER}
+@item @var{STATUS} @tab (Optional) Shall be a scalar of type @code{INTEGER}
and of default kind.
@end multitable
@@ -5514,13 +5514,13 @@ Subroutine
@multitable @columnfractions .15 .70
@item @var{NAME} @tab Shall be a scalar of type @code{CHARACTER}
and of default kind.
-@item @var{VALUE} @tab Shall be a scalar of type @code{CHARACTER}
+@item @var{VALUE} @tab (Optional) Shall be a scalar of type @code{CHARACTER}
and of default kind.
-@item @var{LENGTH} @tab Shall be a scalar of type @code{INTEGER}
+@item @var{LENGTH} @tab (Optional) Shall be a scalar of type @code{INTEGER}
and of default kind.
-@item @var{STATUS} @tab Shall be a scalar of type @code{INTEGER}
+@item @var{STATUS} @tab (Optional) Shall be a scalar of type @code{INTEGER}
and of default kind.
-@item @var{TRIM_NAME} @tab Shall be a scalar of type @code{LOGICAL}
+@item @var{TRIM_NAME} @tab (Optional) Shall be a scalar of type @code{LOGICAL}
and of default kind.
@end multitable