search for: d4db826

Displaying 1 result from an estimated 1 matches for "d4db826".

Did you mean: d4d26
2016 Jul 27
1
[PATCH] builder: fix EOF check with flex >= 2.6.1
...pending on the version of flex which generates the lexer. [1] https://github.com/westes/flex/commit/f863c9490e6912ffcaeb12965fb3a567a10745ff --- builder/index-scan.l | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/builder/index-scan.l b/builder/index-scan.l index d4db826..bdb474b 100644 --- a/builder/index-scan.l +++ b/builder/index-scan.l @@ -45,6 +45,14 @@ extern void scanner_init (yyscan_t *scanner, struct parse_context *context, FILE *in); extern void scanner_destroy (yyscan_t scanner); +#if (YY_FLEX_MAJOR_VERSION > 2) \ + || ((YY_FLEX_MAJOR_VERSION ==...