flex
flex copied to clipboard
FLEX_BETA
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.
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.