From: kraai Date: Mon, 24 Jun 2002 17:21:04 +0000 (+0000) Subject: * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=4ae74ddde9c6fff22d156fdca1aab7c77b47f712;p=pf3gnuchains%2Fgcc-fork.git * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' in examples. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54960 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64db988334c..addb5dac2e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-24 Matt Kraai + + * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' + in examples. + 2002-06-24 Art Haas * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 08046142b62..37451c47f5f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -552,7 +552,7 @@ __label__ @var{label}; or @example -__label__ @var{label1}, @var{label2}, @dots{}; +__label__ @var{label1}, @var{label2}, /* @r{@dots{}} */; @end example Local label declarations must come at the beginning of the statement @@ -603,7 +603,7 @@ wherever a constant of that type is valid. For example: @example void *ptr; -@dots{} +/* @r{@dots{}} */ ptr = &&foo; @end example @@ -698,9 +698,9 @@ bar (int *array, int offset, int size) int access (int *array, int index) @{ return array[index + offset]; @} int i; - @dots{} + /* @r{@dots{}} */ for (i = 0; i < size; i++) - @dots{} access (array, i) @dots{} + /* @r{@dots{}} */ access (array, i) /* @r{@dots{}} */ @} @end group @end example @@ -760,10 +760,10 @@ bar (int *array, int offset, int size) return array[index + offset]; @} int i; - @dots{} + /* @r{@dots{}} */ for (i = 0; i < size; i++) - @dots{} access (array, i) @dots{} - @dots{} + /* @r{@dots{}} */ access (array, i) /* @r{@dots{}} */ + /* @r{@dots{}} */ return 0; /* @r{Control comes here from @code{access} @@ -784,14 +784,14 @@ bar (int *array, int offset, int size) @{ __label__ failure; auto int access (int *, int); - @dots{} + /* @r{@dots{}} */ int access (int *array, int index) @{ if (index > size) goto failure; return array[index + offset]; @} - @dots{} + /* @r{@dots{}} */ @} @end example @@ -1354,7 +1354,7 @@ You can also use variable-length arrays as arguments to functions: struct entry tester (int len, char data[len][len]) @{ - @dots{} + /* @r{@dots{}} */ @} @end example @@ -1369,7 +1369,7 @@ use a forward declaration in the parameter list---another GNU extension. struct entry tester (int len; char data[len][len], int len) @{ - @dots{} + /* @r{@dots{}} */ @} @end example @@ -1536,7 +1536,7 @@ Here is an example of an initializer with run-time varying elements: foo (float f, float g) @{ float beat_freqs[2] = @{ f-g, f+g @}; - @dots{} + /* @r{@dots{}} */ @} @end example @@ -1825,7 +1825,7 @@ union type is equivalent to storing in a member of the union: @example union foo u; -@dots{} +/* @r{@dots{}} */ u = (union foo) x @equiv{} u.i = x u = (union foo) y @equiv{} u.d = y @end example @@ -1834,7 +1834,7 @@ You can also use the union cast as a function argument: @example void hack (union foo); -@dots{} +/* @r{@dots{}} */ hack ((union foo) x); @end example @@ -1850,7 +1850,7 @@ C89 mode. For example, you could do: @example int i; -@dots{} +/* @r{@dots{}} */ i++; int j = i + 2; @end example @@ -1913,9 +1913,9 @@ their own functions that never return. You can declare them void fatal () __attribute__ ((noreturn)); void -fatal (@dots{}) +fatal (/* @r{@dots{}} */) @{ - @dots{} /* @r{Print error message.} */ @dots{} + /* @r{@dots{}} */ /* @r{Print error message.} */ /* @r{@dots{}} */ exit (1); @} @end group @@ -3956,7 +3956,7 @@ extern func () asm ("FUNC"); func (x, y) int x, y; -@dots{} +/* @r{@dots{}} */ @end example It is up to you to make sure that the assembler names you choose do not @@ -4683,7 +4683,7 @@ data. For instance, you can write @smallexample static const int table[] = @{ __builtin_constant_p (EXPRESSION) ? (EXPRESSION) : -1, - /* @dots{} */ + /* @r{@dots{}} */ @}; @end smallexample @@ -4759,7 +4759,7 @@ for (i = 0; i < n; i++) a[i] = a[i] + b[i]; __builtin_prefetch (&a[i+j], 1, 1); __builtin_prefetch (&b[i+j], 0, 1); - /* @dots{} */ + /* @r{@dots{}} */ @} @end smallexample @@ -6778,7 +6778,7 @@ context. @example void fn (int *__restrict__ rptr, int &__restrict__ rref) @{ - @dots{} + /* @r{@dots{}} */ @} @end example @@ -6792,7 +6792,7 @@ unaliased by using @code{__restrict__} as a member function qualifier. @example void T::fn () __restrict__ @{ - @dots{} + /* @r{@dots{}} */ @} @end example