Skip to content

Fix build on machines with modern flex #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions FlexLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
//
// If you want to create multiple lexer classes, you use the -P flag
// to rename each yyFlexLexer to some other xxFlexLexer. You then
// include <FlexLexer.h> in your other sources once per lexer class:
// include "FlexLexer.h" in your other sources once per lexer class:
//
// #undef yyFlexLexer
// #define yyFlexLexer xxFlexLexer
// #include <FlexLexer.h>
// #include "FlexLexer.h"
//
// #undef yyFlexLexer
// #define yyFlexLexer zzFlexLexer
// #include <FlexLexer.h>
// #include "FlexLexer.h"
// ...

#ifndef __FLEX_LEXER_H
Expand Down
2 changes: 1 addition & 1 deletion bif.yy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ typedef unsigned char YY_CHAR;

#define yytext_ptr yytext

#include <FlexLexer.h>
#include "FlexLexer.h"

int yyFlexLexer::yywrap() { return 1; }
int yyFlexLexer::yylex()
Expand Down
2 changes: 1 addition & 1 deletion bifscanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#if ! defined(yyFlexLexerOnce)
#undef yyFlexLexer
#define yyFlexLexer bifFlexLexer
#include <FlexLexer.h>
#include "FlexLexer.h"
#endif

// Override the interface for yylex since we namespaced it
Expand Down
2 changes: 1 addition & 1 deletion cmdoptions.yy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ typedef unsigned char YY_CHAR;

#define yytext_ptr yytext

#include <FlexLexer.h>
#include "FlexLexer.h"

int yyFlexLexer::yywrap() { return 1; }
int yyFlexLexer::yylex()
Expand Down
2 changes: 1 addition & 1 deletion cmdoptionsscanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#undef yyFlexLexer
#define yyFlexLexer reginitFlexLexer
#include <FlexLexer.h>
#include "FlexLexer.h"
#endif

// Override the interface for yylex since we namespaced it
Expand Down
2 changes: 1 addition & 1 deletion reginit.yy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ typedef unsigned char YY_CHAR;

#define yytext_ptr yytext

#include <FlexLexer.h>
#include "FlexLexer.h"

int yyFlexLexer::yywrap() { return 1; }
int yyFlexLexer::yylex()
Expand Down
2 changes: 1 addition & 1 deletion reginitscanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#undef yyFlexLexer
#define yyFlexLexer reginitFlexLexer
#include <FlexLexer.h>
#include "FlexLexer.h"
#endif

// Override the interface for yylex since we namespaced it
Expand Down