extend.texi, [...]: Use "invalid" instead of "illegal".
authorJoseph Myers <jsm28@cam.ac.uk>
Sat, 3 Nov 2001 13:23:58 +0000 (13:23 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 3 Nov 2001 13:23:58 +0000 (13:23 +0000)
* doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
Use "invalid" instead of "illegal".  Use @r in comments in
examples.

From-SVN: r46730

gcc/ChangeLog
gcc/doc/extend.texi
gcc/doc/gcc.texi
gcc/doc/install.texi
gcc/doc/tm.texi

index 195406f68211a04a4b824c1602f2ffeff75526e5..c7349b3222a27e5d1ddd6aafe9c5f695532f7fef 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
+       Use "invalid" instead of "illegal".  Use @r in comments in
+       examples.
+
 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * c-decl.c (pushdecl): Move block inside if conditional to remove
index c2dd710db6cecbb7d4fa476f0c67d59c9f710eaf..7d2a28a9797a28fb24475c6f16afa47173f187a2 100644 (file)
@@ -1352,10 +1352,10 @@ object.  For example:
 struct foo @{ int x; int y[]; @};
 struct bar @{ struct foo z; @};
 
-struct foo a = @{ 1, @{ 2, 3, 4 @} @};        // Legal.
-struct bar b = @{ @{ 1, @{ 2, 3, 4 @} @} @};    // Illegal.
-struct bar c = @{ @{ 1, @{ @} @} @};            // Legal.
-struct foo d[1] = @{ @{ 1 @{ 2, 3, 4 @} @} @};  // Illegal.
+struct foo a = @{ 1, @{ 2, 3, 4 @} @};        // @r{Valid.}
+struct bar b = @{ @{ 1, @{ 2, 3, 4 @} @} @};    // @r{Invalid.}
+struct bar c = @{ @{ 1, @{ @} @} @};            // @r{Valid.}
+struct foo d[1] = @{ @{ 1 @{ 2, 3, 4 @} @} @};  // @r{Invalid.}
 @end example
 
 @node Variable Length
index 53b3cee8cb9f23622f56c9e4fdf03e0c586060fb..6fb37c128a9a6955ddfa9b27cf044ea7a43327ce 100644 (file)
@@ -3937,7 +3937,7 @@ The name of a file or file-like object on the host system which acts as
 a ``bit bucket''.  If you do not define this macro, GCC will use
 @samp{/dev/null} as the bit bucket.  If the target does not support a
 bit bucket, this should be defined to the null string, or some other
-illegal filename.  If the bit bucket is not writable, GCC will use a
+invalid filename.  If the bit bucket is not writable, GCC will use a
 temporary file instead.
 
 @findex COLLECT_EXPORT_LIST
index cffd914d14568cd8077ad827596edf4cbe331543..2ec79c72044ab2ca1dca0fac84266b6f12041ac0 100644 (file)
@@ -3278,7 +3278,7 @@ newer: @command{g++} will complain that types are missing.  These headers assume
 that omitting the type means @code{int}; this assumption worked for C89 but
 is wrong for C++, and is now wrong for C99 also.
 
-@command{g++} accepts such (illegal) constructs with the option
+@command{g++} accepts such (invalid) constructs with the option
 @option{-fpermissive}; it
 will assume that any missing type is @code{int} (as defined by C89).
 
index 8fc6b9c286adaac5d7ebe8949828374664140a3b..3ff28f5af1df112134d0a019a996b8e71e72665a 100644 (file)
@@ -2454,7 +2454,7 @@ which the compiler may not change modes arbitrarily.
 
 @item CLASS_CANNOT_CHANGE_MODE_P(@var{from}, @var{to})
 A C expression that is true if, for a register in
-@code{CLASS_CANNOT_CHANGE_MODE}, the requested mode punning is illegal.
+@code{CLASS_CANNOT_CHANGE_MODE}, the requested mode punning is invalid.
 
 For the example, loading 32-bit integer or floating-point objects into
 floating-point registers on the Alpha extends them to 64-bits.