diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <hilfingr@nile.gnat.com> + + * 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 <cagney@gnu.org> * 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); } - <INITIAL>\" { 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 }; |