[Flex-help] [suggestion] Change define/undef from the header file to the source file
flex is a tool for generating scanners
Brought to you by:
wlestes
From: slipbits <ho...@sl...> - 2023-06-25 20:55:37
|
Flex 2.6.4 In looking at the generated header file is looks like all the defines/undefs, except for YY_DECL, are local to and used only by the Flex generated source code. If that's the case then is there any reason that they can not all be moved from the header file to the source file? That would ensure that the generated header file can be imported everywhere, including the flex generated source file. At the moment the header file can not be imported to the source file, and, except for YY_DECL, does not seem to contain anything useful for any other header/source file. |