]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/arlex.l
readelf: segfault at readelf.c:12227
[thirdparty/binutils-gdb.git] / binutils / arlex.l
index 28f61b4bb664d0fdeeaaa2b7a86026d414fb9673..8ee5ce0d397e66a98f25b96f41b226bb5e49b863 100644 (file)
@@ -1,9 +1,9 @@
-%option noinput nounput
+%option noinput nounput noyywrap
 
 %{
 /* arlex.l - Strange script language lexer */
 
-/* Copyright (C) 1992-2015 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