Skip to content

flex 2.7.7

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 11:06
· 1 commit to master since this release

Noteworthy changes in release 2.7.7 (2026-11-24) [stable]

scanner

  • The #line directives in a generated scanner now switch back to the
    generated file after each rule action, as Bison does, and the
    default rule no longer gets a #line directive of its own. Before,
    the code flex adds between actions, and the default rule, were
    attributed to lines of the scanner file, some of which did not
    exist. Compiler messages and coverage tools such as lcov 2.1 and
    later then pointed at the wrong lines or failed. (#903)

    Thanks to Szabolcs Horvát.