This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] Standardize en-dashes to em-dashes.


The standard for em-dashes in GCC documentation is apparently "---", not " -- ". There were a few cases of the wrong sort in the documentation; this fixes them.

Checked with "make info" and "make pdf"; Committed to trunk as obvious.

-----------------------------------------------------------------
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* invoke.texi, gfortran.texi: Corrected erronous dashes.

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

- Brooks
Index: invoke.texi
===================================================================
--- invoke.texi	(revision 117617)
+++ invoke.texi	(working copy)
@@ -695,7 +695,7 @@
 extra argument in the calling sequence that points to where to
 store the return value.  Under the default GNU calling conventions, such
 functions simply return their results as they would in GNU
-C -- default @code{REAL} functions return the C type @code{float}, and
+C---default @code{REAL} functions return the C type @code{float}, and
 @code{COMPLEX} functions return the GNU C type @code{complex}.
 Additionally, this option implies the @option{-fsecond-underscore}
 option, unless @option{-fno-second-underscore} is explicitly requested.
Index: gfortran.texi
===================================================================
--- gfortran.texi	(revision 117617)
+++ gfortran.texi	(working copy)
@@ -415,7 +415,7 @@
 categories: bug fixing (primarily regarding the treatment of invalid code
 and providing useful error messages), improving the compiler optimizations
 and the performance of compiled code, and extending the compiler to support
-future standards -- in particular, Fortran 2003.
+future standards---in particular, Fortran 2003.
 
 
 @node Proposed Extensions
@@ -474,7 +474,7 @@
 
 @item
 Environment variables controlling actions on arithmetic exceptions like
-overflow, underflow, precision loss -- Generate NaN, abort, default.
+overflow, underflow, precision loss---Generate NaN, abort, default.
 action.
 
 @item
@@ -1002,8 +1002,8 @@
 @end smallexample
 The pointer is an integer that is intended to hold a memory address.
 The pointee may be an array or scalar.  A pointee can be an assumed
-size array -- that is, the last dimension may be left unspecified by
-using a '*' in place of a value -- but a pointee cannot be an assumed
+size array---that is, the last dimension may be left unspecified by
+using a '*' in place of a value---but a pointee cannot be an assumed
 shape array.  No space is allocated for the pointee.
 
 The pointee may have its type declared before or after the pointer

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