Handle CRLF when reading XML on Windows
[deliverable/binutils-gdb.git] / binutils / arlex.l
index 28f61b4bb664d0fdeeaaa2b7a86026d414fb9673..f421519c2caf29f37968a9dbb4a6a98c5c249925 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-2019 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.035272 seconds and 4 git commands to generate.