This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New scope checking patch
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Rob Quill <rob dot quill at gmail dot com>
- Cc: jimb at red-bean dot com, gdb-patches at sourceware dot org
- Date: Mon, 28 Jul 2008 21:25:14 +0300
- Subject: Re: New scope checking patch
- References: <baf6008d0711120829l3c0201aakf477dd4d6cfd440e@mail.gmail.com> <m3r6gf6kcz.fsf@codesourcery.com> <baf6008d0801181443s5321e5d5ud1c935aa8487a549@mail.gmail.com> <m34pda7ira.fsf@codesourcery.com> <baf6008d0801300405i47646b05pdb799d32ab71e005@mail.gmail.com> <u1w7zxjid.fsf@gnu.org> <8f2776cb0801301557t2e265b62u56d6df7cbcec1c84@mail.gmail.com> <utzkuws6q.fsf@gnu.org> <baf6008d0807271645o7d03dd94rd5b3f0d08302085a@mail.gmail.com> <u3alu4s00.fsf@gnu.org> <baf6008d0807280331w28341385ja3bbf1bee7888aed@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 28 Jul 2008 11:31:21 +0100
> From: "Rob Quill" <rob.quill@gmail.com>
> Cc: jimb@red-bean.com, gdb-patches@sourceware.org
>
> >> +provided that you check if it is in scope before you test it's value. The operator
> > ^^^^
> > "its"
>
> I thought about that before I submitted it but couldn't make up my
> mind as to which was right, as the scope belongs to the variable so
> maybe it needed an apostrophe.
"it's" == "it is", which is not what you want here. You want "its" ==
"belonging to it".