This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFC 11/12] entryval: "@entry" in input expressions


On Tue, 19 Jul 2011 18:19:47 +0200, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> Jan> There is some risk of a clash with Koening operator parsing but I
> Jan> do not think this patch has any problem with it.
> 
> If you are referring to the use of "@" in comments in the Koening code,
> that is a placeholder for a generic operator (IIRC the C++ standard uses
> this convention); there is no C++ operator actually named "@".  So,
> there is no risk of clash here.

There was a problem that token ENTRY can be reduced also to UNKNOWN_CPP_NAME.
ENTRY was only reducible to NAME before.  UNKNOWN_CPP_NAME is used for the
Koenig operator so using method name "entry" did not work properly for
Koening.

But it works now, there should not be any problem with it, just as I met it
during development I added a special testcase for it.


Thanks,
Jan


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