Re: New scope checking patch

Jim Blandy
2008-01-19T00:38:00Z

"Rob Quill" <rob.quill at gmail.com> writes:
> 2008-01-18 Rob Quill <rob.quill@gmail.com>
>
> Add $in_scope as a type of expression.
> * c-exp.y (IN_SCOPE): New token.
> (exp): IN_SCOPE (name): evaluates to 1 if name is in scope, 0
> otherwise.
> (yylex): Match "$in_scope" as IN_SCOPE token

This looks good.

I see you've got your copyright paperwork filed with the FSF.

If you haven't already (and only if you haven't already), you'll need
to visit:

http://sourceware.org/cgi-bin/pdw/ps_form.cgi

to get added to the gdb project; list me as your approver.

Since this is a user-visible feature, it needs documentation. Write
up a patch to doc/gdb.texinfo, make sure it looks okay in .info and
PDF form, and post the patch to the .texinfo file here. I think this
also needs an entry in gdb/NEWS.