This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation
- From: Tristan Gingold <gingold at adacore dot com>
- To: Chris Dituri <csdituri at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 3 Mar 2014 09:35:27 +0100
- Subject: Re: [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation
- Authentication-results: sourceware.org; auth=none
- References: <1393825577-25481-1-git-send-email-csdituri at gmail dot com>
On 03 Mar 2014, at 06:46, Chris Dituri <csdituri@gmail.com> wrote:
> When reading the gas documentation I noticed that the decimal integer
> example contradicted its definition:
>
> "A decimal integer starts with a non-zero digit [...]"
I read (@samp{0123456789}) as definition of a digit, so when I first read
your patch, I didn't see the real change.
Maybe we all know what is a digit, but we also know what is a decimal integer.
But this definition of decimal integer is not the usual one (ie doesn't follow
the math one).
So, I think you should change that sentence but clarify wether the @samp is
an example or a definition.
Tristan.
>
>
> Regards,
> Chris
>
> ---
> gas/doc/as.texinfo | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
> index 739b5b9..d7db02b 100644
> --- a/gas/doc/as.texinfo
> +++ b/gas/doc/as.texinfo
> @@ -2916,7 +2916,7 @@ digits (@samp{01234567}).
> @cindex decimal integers
> @cindex integers, decimal
> A decimal integer starts with a non-zero digit followed by zero or
> -more digits (@samp{0123456789}).
> +more digits (@samp{1234567890}).
>
> @cindex hexadecimal integers
> @cindex integers, hexadecimal
> --
> 1.8.4.1
>