summaryrefslogtreecommitdiff
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
commitde0f2bc5f5665ce951ffb33c0540a72cb15d716f (patch)
tree19fff9db36c3fb792d0ac0827215c494e47f298a /gdb/ada-lex.l
parent26309ec67b02d673f537c083e3334a25bf44dc8a (diff)
downloadgdb-de0f2bc5f5665ce951ffb33c0540a72cb15d716f.tar.gz
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 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
};