Skip to content

flex 2.7.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 16:36
· 1 commit to master since this release

Noteworthy changes in release 2.7.1 (2026-11-18) [stable]

scanner

  • A scanner whose yytext is a pointer, which is the default, no longer
    reports a wrong yyleng, or reads memory in front of its input
    buffer, when a rule's action calls yymore() and then uses unput()
    to push back more characters than the rule matched. The next token
    now starts with the pushed-back characters, as no yymore() text is
    left to keep. (#874)

    Thanks to anshal ossaimi.