Fix compile time warnings about comparisons always being false.
[deliverable/binutils-gdb.git] / binutils / arlex.l
index bf186238c95426a54f37d06b999cb81a5f74cdd3..8ee5ce0d397e66a98f25b96f41b226bb5e49b863 100644 (file)
@@ -1,9 +1,9 @@
-%option noinput nounput
+%option noinput nounput noyywrap
 
 %{
 /* arlex.l - Strange script language lexer */
 
-/* Copyright (C) 1992-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -88,7 +88,3 @@ int linenumber;
 "\n"            { linenumber ++; return NEWLINE; }
 
 %%
-#ifndef yywrap
-/* Needed for lex, though not flex. */
-int yywrap(void) { return 1; }
-#endif
This page took 0.024846 seconds and 4 git commands to generate.