On 17.12.2020 08:06, Steve Lhomme wrote:
I meant that for generated files it's fine, so I agree with you. I fear that forcing binary mode for input files as well may break reading some files with windows line ending on Windows. I don't think that's the case in mingw-w64 but it may have some side effects elsewhere.
Note that binary mode results in more or less what we use on Unix, so if reading in text or binary mode changes output, it would most likely mean that we don't do it right on one of hosts. In practice, new lines are consumed by lexer and both modes should be fine.
Jacek