On 4/20/11, Jason Merrill <ja...@redhat.com> wrote:
> 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.

I made the changes to save/restore current_namespace, and the front
end works.  There is a segfault in the back end.  The cause is as yet
unknown.

-- 
Lawrence Crowl

Reply via email to