Quoting and the expr parser
Daniel Jacobowitz
drow@false.org
Tue Aug 5 20:22:00 GMT 2008
On Tue, Aug 05, 2008 at 12:24:04PM -0700, Keith Seitz wrote:
> Hi,
>
> I have a simple question:
>
> Why must one type "my_class::'operator+'" instead of simply
> "my_class::operator+"?
>
> *Should* gdb accept the latter; after all, it's not ambiguous (assuming
> it's not overloaded).
Yes, it should. This is an omission in c-exp.y; cp-name-parser.y
(not used for expressions) handles it correctly.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list