This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH to cp_parser_postfix_expression


On Thu, 13 Feb 2003 12:36:16 +0000, Nathan Sidwell <nathan@codesourcery.com> wrote:

> Jason Merrill wrote:
>> We were failing to set idk to CP_PARSER_ID_KIND_QUALIFIED for the case of a
>> name qualified with both object and scope.  As a result, we were
>> incorrectly doing virtual lookup for some function calls.

>> 2003-02-12  Jason Merrill  <jason@redhat.com>
>> 	* parser.c (cp_parser_postfix_expression): Set idk properly for
>> 	object->scope::member.
>
> This is PR 9485. I looked at that, and whilst a patch like yours fixes the
> bug, it occurred to me that something along the lines of getting
> cp_parser_postfix_expression to return an idk value might be better.

I assume you mean cp_parser_id_expression here.  Makes sense; are either of
you working on this?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]