This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA] Wrong documentation for "&&var"?
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 08 Jan 2008 22:31:31 +0200
- Subject: Re: [RFC/RFA] Wrong documentation for "&&var"?
- References: <20080108065524.GA24614@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 7 Jan 2008 22:55:24 -0800
> From: Joel Brobecker <brobecker@adacore.com>
>
> Paul noticed the following.
>
> 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
>
> * gdb.texinfo (C Operators): Remove incorrect parenthetical comment
> about &&var, which is rejected by the expression parser.
>
> Not knowing what was really meant at the implementation level, I'm not
> sure whether this is a parser implementation bug, or an error in the
> documentation. Paul thought that this was an error in the documentation
> so, assuming he is correct, I'm submitting this change on his behalf.
>
> So, is this a parser bug or a documentation error?
The original text was there since the first version in CVS (in 1999),
so I'm inclined to think it's a bug in the parser.