[RFC/RFA] Add handling for unqualified Ada operators in linespecs
Tom Tromey
tromey@redhat.com
Tue Dec 20 15:30:00 GMT 2011
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> + p = *argptr;
Joel> + if (p[0] == '"'
>>
>> Why only double quotes?
Joel> Because the double quotes are part of the operator name... Eg:
Joel> function "+" (A, B: My_Type) return My_Type;
I think this could mess with the lexing plans. The original plan was
for quotes to mean quoting. This approach means there is a situation
where the quotes are part of the name.
Keith... ?
Tom
More information about the Gdb-patches
mailing list