Re: #if !_GL_CONFIG_H_INCLUDED breaks flex generated lexers, FYI

2023-04-13 Thread Paul J. Lucas
On Apr 13, 2023, at 10:57 AM, Bruno Haible wrote: >> IMHO, this is a problem with Flex, not GnuLib. Flex should have a mechanism >> to insert code at the top of the generated lexer like Bison’s "%code top” >> directive. > > As far as I know, it already has. >

Re: #if !_GL_CONFIG_H_INCLUDED breaks flex generated lexers, FYI

2023-04-13 Thread Bruno Haible
Hello Paul, > This recent commit: > > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=8ad7bc671475d3291df10a1a1d64fddfd30e5175 > > renders Flex generated lexers uncompilable. If you use GnuLib, you're using > wrappers around standard headers like stdio.h. The recent commit added