Re: RFA: implement ambiguous linespec proposal

Tom Tromey
2011-11-16T14:49:06Z

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