Noteworthy changes in release 2.6.11 (2026-11-12) [stable]
scanner
-
A C++ scanner now frees every buffer left on its buffer stack when
it is destroyed. Before, it freed only the top one, so each buffer
added with yypush_buffer_state() and not yet removed leaked its
memory. The C scanners already did this in yylex_destroy().Thanks to anshal ossaimi.
test
-
The scan_length tests could fail on some architectures, such as
aarch64, because two variables in each test could hold wrong values
after the test recovered from the expected fatal error. They are
now declared so that the compiler cannot do that. (#850)Thanks to Funda Wang.