[PATCH] more use of @dots{} in texinfo files

Joseph S. Myers jsm28@cam.ac.uk
Sat Jun 22 13:17:00 GMT 2002


On Sat, 22 Jun 2002, Art Haas wrote:

> Here's a small patch that replaces "..." with the
> texinfo command @dots{}. I did a "make info" successfully
> after fiddling with the files. The patch is against the
> gcc-3_1-branch info files.

Almost all of these are wrong, because ... is being used as a literal
programming language token.  @dots{} is only for an English language
ellipsis.

> @@ -4549,7 +4549,7 @@
>  @smallexample
>  static const int table[] = @{
>     __builtin_constant_p (EXPRESSION) ? (EXPRESSION) : -1,
> -   /* ... */
> +   /* @dots{} */

> @@ -4625,7 +4625,7 @@
>      a[i] = a[i] + b[i];
>      __builtin_prefetch (&a[i+j], 1, 1);
>      __builtin_prefetch (&b[i+j], 0, 1);
> -    /* ... */
> +    /* @dots{} */
>    @}

> @@ -2564,7 +2564,7 @@
>  
>  This macro defines the operation used when something is pushed
>  on the stack.  In RTL, a push operation will be
> -@code{(set (mem (STACK_PUSH_CODE (reg sp))) ...)}
> +@code{(set (mem (STACK_PUSH_CODE (reg sp))) @dots{})}

These are the only parts of the patch that look correct.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list