[Flex-devel] Does Flex still need K&R support?
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Joe K. <kr...@ni...> - 2008-10-17 15:41:43
|
I added M4 macros to my modified skeleton to handle C and C++ functions with a single macro, instead of one macro for each argument count to add the reentrant argument. The idea was to simplify the skeleton body by having better M4 macros. My current implementation is derived from Bison's macros. It doesn't look as pretty here because Flex uses double brackets, and results in a syntax that is not really nicer looking than the previous method. It will be easier to simplify the macros if K&R support is dropped. Does anyone in the world still need it? If so, they can always use an older release of Flex. Joe |