3.14.4 sometimes generates broken lexer on Windows
Since the update to 3.14.4, we sometimes get broken builds on Windows. A lexer generator implemented in CMake writes a file, and occasionally writes appear in the wrong order.
Specifically, the writes in lines 211 and 220 of TokenList2DsnLexer.cmake seem to get reversed:
T_STRING = DSN_STRING, // a quoted string, stripped of the quotes
T_EOF = DSN_EOF, // special case for end of file
,
T_arc = 0 T_header,
,
T_author T_height,
,
T_center T_length,
,
T_circle T_license,
i.e. the comma and newline that is supposed to follow the first token from the grammar is written before it, the next comma is fine, the one after that swaps places with the token name again etc.
This is not fully reproducible but happens often enough to be annoying, last time was https://jenkins.simonrichter.eu/job/windows-kicad-msvc-head/3003/ where one of four parallel builds (all using the same CMake binary) failed.