diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-09 04:56:48 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-09 04:56:48 +0000 |
commit | 375c04797484d5140343d112b0c5754c3795cde5 (patch) | |
tree | e97ac05b96fd1b92c6d33e1cd497cc4f30b95efb /gdb | |
parent | 7db6994ff2794f8097cd1382545f2ee3bad73988 (diff) | |
download | gdb-375c04797484d5140343d112b0c5754c3795cde5.zip gdb-375c04797484d5140343d112b0c5754c3795cde5.tar.gz gdb-375c04797484d5140343d112b0c5754c3795cde5.tar.bz2 |
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.
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 5601d9a..2a7c4da 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 e4b8999..ddb6026 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 }; |