projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix segfault when .plt section does not exist
[binutils-gdb.git]
/
binutils
/
syslex.l
diff --git
a/binutils/syslex.l
b/binutils/syslex.l
index 86cb17de918e01b89c693dff1459808e1029f701..7fcc714fc0884473d0e40af26b96ee4eca964af4 100644
(file)
--- a/
binutils/syslex.l
+++ b/
binutils/syslex.l
@@
-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);
%}
%%