[PATCH Bug breakpoints/14381] Fix linespec to parse file name that begin with decimal numbers

Keith Seitz keiths@redhat.com
Mon Jul 23 17:17:00 GMT 2012


On 07/23/2012 07:28 AM, Tom Tromey wrote:
> How about changing linespec_lexer_lex_number to return a boolean
> indicating whether it succeeded?  This is basically the same idea, but
> without introducing a new token.

That's sounds even better than the sleep-deprived solution I came up with.

Keith



More information about the Gdb-patches mailing list