Re: [PATCH 2/6] libcpu: Include config.h before standard headers in lexer source

2024-10-14 Thread Mark Wielaard
Hi Michael, On Thu, Oct 10, 2024 at 10:27:02AM +, Michael Pratt wrote: > As part of the processing of flex, definitions and headers > are added to output source before any literal text or generated code. > > This causes standard headers to come before config.h > unless config.h is included in

[PATCH 2/6] libcpu: Include config.h before standard headers in lexer source

2024-10-10 Thread Michael Pratt
As part of the processing of flex, definitions and headers are added to output source before any literal text or generated code. This causes standard headers to come before config.h unless config.h is included in a %top block instead as specified in the flex manual, section 5.1 "Format of the Defi