From 375c04797484d5140343d112b0c5754c3795cde5 Mon Sep 17 00:00:00 2001 From: "Paul N. Hilfinger" Date: Sat, 9 Oct 2004 04:56:48 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 6 ++++++ gdb/ada-lex.l | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 }; -- 2.30.2