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/RFA] Add handling for unqualified Ada operators in linespecs


>>>>> "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


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