forked from Imagelibrary/binutils-gdb
Use noyywrap option in lex files.
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.
This commit is contained in:
committed by
Nick Clifton
parent
8cf50cb070
commit
b055631694
@@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%option noinput nounput
|
||||
%option noinput nounput noyywrap
|
||||
|
||||
%{
|
||||
/* Copyright (C) 2001-2017 Free Software Foundation, Inc.
|
||||
@@ -36,10 +36,6 @@
|
||||
#define YY_NO_UNPUT
|
||||
#endif
|
||||
|
||||
#ifndef yywrap
|
||||
static int yywrap (void) { return 1; }
|
||||
#endif
|
||||
|
||||
extern int yylex (void);
|
||||
%}
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user