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: RFA: implement ambiguous linespec proposal


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> Single vs double quote handling in linespecs is, umm, odd.
Doug> [It's probably seems odder than it really is due to poor naming,
Doug> "quote" is just too ambiguous.  At some point I'd like to enforce
Doug> "squote" and "dquote" instead of just "quote" when only one is meant.
Doug> :-)]

Keith is working on this.  He's replacing the current distributed, ad
hoc lexing code in linespec.c with something more centralized and
uniform.  This should let us more easily add new kinds of linespecs,
like "FILE:FUNCTION:LINE" or "OBJFILE:FILE:FUNCTION" without making all
the code even more horrible.

I don't have insight into the specific case of different quoting styles.

You can see Keith's work-in-progress on archer-keiths-linespec-parser.

Tom


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