This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gas/doc/as.texinfo: correct decimal integer example in documentation


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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]