ld PR 20958
* ldlex.l (option): Add noyywrap
(yywrap): Delete.
* ldlex.h (yywrap): Delete prototype.
binutils
PR 20958
* syslex.l (option): Add noyywrap
(yywrap): Delete.
+2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
+
+ PR 20958
+ * syslex.l (option): Add noyywrap
+ (yywrap): Delete.
+
2017-01-02 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/* Copyright (C) 2001-2017 Free Software Foundation, Inc.
#define YY_NO_UNPUT
#endif
-#ifndef yywrap
-static int yywrap (void) { return 1; }
-#endif
-
extern int yylex (void);
%}
%%
+2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
+
+ PR 20958
+ * ldlex.l (option): Add noyywrap
+ (yywrap): Delete.
+ * ldlex.h (yywrap): Delete prototype.
+
2017-01-04 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/audit.exp: Check for shared lib support.
/* In lexsup.c. */
extern int lex_input (void);
extern void lex_unput (int);
-#ifndef yywrap
-extern int yywrap (void);
-#endif
extern void parse_args (unsigned, char **);
#endif
-%option nounput
+%option nounput noyywrap
%{
*/
#define RTOKEN(x) { yylval.token = x; return x; }
-/* Some versions of flex want this. */
-#ifndef yywrap
-int yywrap (void) { return 1; }
-#endif
%}
%a 4000