mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove noyywrap from src/link/lexer.l
Workaround for flex version 2.6.3. Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
%option noinput
|
||||
%option nounput
|
||||
%option noyywrap
|
||||
|
||||
%{
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -98,6 +98,11 @@ extern int yyparse();
|
||||
|
||||
extern FILE *yyin;
|
||||
|
||||
int yywrap (void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void yyerror(char *s)
|
||||
{
|
||||
errx(1, "%d:Linkerscript parse error: \"%s\"\n", nline, s);
|
||||
|
||||
Reference in New Issue
Block a user