C++: Tag transparent binding contour

Jason Merrill jason@redhat.com
Tue Jun 3 17:36:00 GMT 2003


On 03 Jun 2003 19:06:15 +0200, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> Thank you.  Is it OK to describe the binding contour created by
> maybe_push_cleanup_level as just a bare sk_block?  Or do you think it
> is necessary to introduce a separate scope_kind enumerator? (I would
> say sk_block is sufficient),

Well, it isn't a block.  It's transparent to all names.  If you're working
to distinguish different types of binding levels, this seems worth
distinguishing.  If you give these a different scope_kind, you could check
that and do away with the magic handling of keep==2.

Jason



More information about the Gcc mailing list