On 04/20/2011 11:38 AM, Diego Novillo wrote:
I don't know.  I thought pushdecl_with_scope would be it.  Jason, is
there any other bookkeeping routine we would need to be calling?
Maybe we need to set some global that points to the current namespace
before calling pushdecl_with_scope()?  There is a 'current_namespace'
definition in cp-tree.h.  Maybe that needs to be setup?

Hmm, seems that way. SET_IDENTIFIER_NAMESPACE_VALUE uses current_namespace rather than current_binding_level.

Jason

Reply via email to