From: Paul N. Hilfinger Date: Sat, 9 Oct 2004 04:56:48 +0000 (+0000) Subject: ada-lex.l: Remove useless rule whose right-context clause X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=375c04797484d5140343d112b0c5754c3795cde5;p=binutils-gdb.git ada-lex.l: Remove useless rule whose right-context clause causes unreferenced static function warning for yyrealloc. (ada_flex_use): Remove the artificial reference to yyrealloc. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5601d9a6c77..2a7c4dac607 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-10-09 Paul Hilfinger + + * ada-lex.l: Remove useless rule whose right-context clause + causes unreferenced static function warning for yyrealloc. + (ada_flex_use): Remove the artificial reference to yyrealloc. + 2004-10-08 Andrew Cagney * target.h (struct target_ops): Rename to_xfer_memory to diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index e4b8999d4e4..ddb60267c65 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -154,8 +154,6 @@ static int find_dot_all (const char *); return CHARLIT; } -\"{OPER}\"/{WHITE}*"(" { return processId (yytext, yyleng); } - \" { tempbuf_len = 0; BEGIN IN_STRING; @@ -926,5 +924,5 @@ yywrap(void) typedef void (*dummy_function) (); dummy_function ada_flex_use[] = { - (dummy_function) yyrealloc, (dummy_function) yyunput + (dummy_function) yyunput };