summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-03 13:23:58 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-03 13:23:58 +0000
commitafb00aa2922f95516d8ef272bf52ea7cdfc10882 (patch)
treef97dc1fda97d14fca02778ad48559ef6ee6f14df /gcc/doc
parentbde9996217171030b612b66eb8e4385ff1b5626e (diff)
downloadgcc-afb00aa2922f95516d8ef272bf52ea7cdfc10882.tar.gz
* doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
Use "invalid" instead of "illegal". Use @r in comments in examples. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-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
4 files changed, 7 insertions, 7 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index c2dd710db6c..7d2a28a9797 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 53b3cee8cb9..6fb37c128a9 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 cffd914d145..2ec79c72044 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 8fc6b9c286a..3ff28f5af1d 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.