aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r--gdb/ada-lex.l8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l
index f7fac27..8ce7c3a 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -89,7 +89,7 @@ static int paren_depth;
%}
-%option case-insensitive interactive nodefault
+%option case-insensitive interactive nodefault noyywrap
%s BEFORE_QUAL_QUOTE
@@ -634,12 +634,6 @@ rewind_to_char (int ch)
yyrestart (NULL);
}
-int
-yywrap(void)
-{
- return 1;
-}
-
/* Dummy definition to suppress warnings about unused static definitions. */
typedef void (*dummy_function) ();
dummy_function ada_flex_use[] =