On Fri, Jul 11, 2003 at 01:26:18AM -0400, Greg Stark wrote: > 2.5.31 was a massive API change.
Wonderful. > Until ethereal is ported to the new flex, if > ever, you could try building with the flex from the flex-old package. > > How to write sane dependencies given this situation is another question. It looks as if the offending API change in question is that the generated lexical analyzer now calls the functions with the name implied by the -P option, rather than giving them "yy_" names and then #defining the -P-option names as the "yy_" names. Unfortunately, that breaks Lemon-based parsers, as they directly call the "yy_" functions, but there's no header file redefining them. I guess we could put those #defines in explicitly if the the "yy_" names aren't already #defined.
