Re: [PATCH/RFC/BUG] unpack-trees.c: do not use "the_index"
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 2, 2018, 05:01 UTC
- Message-ID
- <CACsJy8A4mAuq0rCdvR+JmY7Ghcy4nqVvyQEUNC=7JUY_x+PTYA@mail.gmail.com>
- In-Reply-To
- <CAGZ79kbOKPgBPJpoez7S5k7Y6L-+ncjcAvs3MaADLT1z_dv3+A@mail.gmail.com>
On Fri, Jun 1, 2018 at 8:51 PM, Stefan Beller <sbeller@google.com> wrote:
Show 8 quoted lines
> On Fri, Jun 1, 2018 at 11:34 AM, Elijah Newren <newren@gmail.com> wrote: > >>> +/* Do not use the_index here, you probably want o->src_index */ >>> +#define the_index the_index_should_not_be_used here >> >> Good call. > > Is the space instead of the underscore between the last two words intentional?
Unintentional. I wanted gcc to show this phrase when a developer accidentally uses the_index here (it's basically "the_index_should_not_be_used_here is not declared blah blah"). Two words would cause a different syntax error.
-- Duy