Skip to content
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

FLEX_BETA #379

Open
akimd opened this issue Sep 8, 2018 · 1 comment
Open

FLEX_BETA #379

akimd opened this issue Sep 8, 2018 · 1 comment
Milestone

Comments

@akimd
Copy link
Contributor

akimd commented Sep 8, 2018

This does not make any sense:

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 4
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif

Clearly, FLEX_BETA is useless and should not be defined.

@westes
Copy link
Owner

westes commented Sep 8, 2018

Please submit a pull request if you see an opportunity to improve flex.

The intent -- and yes, the code does not do what it should -- was that if the version number was x.y.z where z was not 0, then that version of flex was going to be considered beta with the x.y.0 versions being considered stable. The feature was never used, however.

@westes westes added this to the 2.6.6 milestone Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants