aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2004-10-09 04:56:48 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2004-10-09 04:56:48 +0000
commit375c04797484d5140343d112b0c5754c3795cde5 (patch)
treee97ac05b96fd1b92c6d33e1cd497cc4f30b95efb /gdb/ada-lex.l
parent7db6994ff2794f8097cd1382545f2ee3bad73988 (diff)
downloadgdb-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/ada-lex.l')
-rw-r--r--gdb/ada-lex.l4
1 files changed, 1 insertions, 3 deletions
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
};