"Tom" == Tom Tromey<tromey@redhat.com> writes:
Tom> c-exp.y does sometimes differentiate the cases; it will emit an
Tom> OP_SCOPE in the qualified case. I think we do mishandle either
Tom> "::name" or "::name::name" here, in the sense that these aren't
Tom> distinguished from a name without a leading "::".
Sami mentioned that this was handled on expr-cumulative.
I looked, and it does seem to be partially handled, but I think there
are still bugs. Also, parts of the implementation are bad -- checking
for "::" in lookup_symbol_in_language is a no-no.
I may end up redoing this; if you're actively working in this area, let
me know, and I will back off.