From 32b40af94e919e235c21486110311647cbeecf2e Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Mon, 23 Mar 2015 13:32:01 -0700 Subject: Update comment of linespec_lexer_lex_keyword. gdb/ChangeLog * linespec.c (linespec_lexer_lex_keyword): Update comment. --- gdb/ChangeLog | 4 ++++ gdb/linespec.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4a25d42..3c59d09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2015-03-23 Keith Seitz + * linespec.c (linespec_lexer_lex_keyword): Update comment. + +2015-03-23 Keith Seitz + * breakpoint.c (parse_breakpoint_sals): Use linespec_lexer_lex_keyword to ascertain if the user specified a NULL location. diff --git a/gdb/linespec.c b/gdb/linespec.c index 90c07a2..d2089b5 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -414,8 +414,7 @@ linespec_lexer_lex_number (linespec_parser *parser, linespec_token *tokenp) return 1; } -/* Does P represent one of the keywords? If so, return - the keyword. If not, return NULL. */ +/* See linespec.h. */ const char * linespec_lexer_lex_keyword (const char *p) -- cgit v1.1