aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-11-03 13:23:58 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-11-03 13:23:58 +0000
commit13ba36b478bfdfe2881bdc4a83c2caf2fd26fbd2 (patch)
treef97dc1fda97d14fca02778ad48559ef6ee6f14df
parent6545a2b52497612fb664d5994f319e4e3f4cb495 (diff)
downloadgcc-13ba36b478bfdfe2881bdc4a83c2caf2fd26fbd2.zip
gcc-13ba36b478bfdfe2881bdc4a83c2caf2fd26fbd2.tar.gz
gcc-13ba36b478bfdfe2881bdc4a83c2caf2fd26fbd2.tar.bz2
extend.texi, [...]: Use "invalid" instead of "illegal".
* 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi8
-rw-r--r--gcc/doc/gcc.texi2
-rw-r--r--gcc/doc/install.texi2
-rw-r--r--gcc/doc/tm.texi2
5 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 195406f..c7349b3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index c2dd710..7d2a28a 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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
diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi
index 53b3cee..6fb37c1 100644
--- a/gcc/doc/gcc.texi
+++ b/gcc/doc/gcc.texi
@@ -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
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index cffd914..2ec79c7 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -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).
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 8fc6b9c..3ff28f5 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -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.