I wrote:
> Yeah, I've confirmed this. It appears that Apple has absorbed this
> as-yet-unreleased upstream patch into their "2.5.35" version:
> http://flex.cvs.sourceforge.net/viewvc/flex/flex/flex.skl?r1=2.212&r2=2.213
> ...
> However, I think we can work around it. AFAICS, the only reason ecpg
> has an extern for yyleng is because preproc.y's make_name() uses it,
> and there doesn't seem to be any compelling reason why that function
> shouldn't just do "mm_strdup(yytext)" instead.
I've committed patches for this --- it should be safe to go back to
using OS X's native flex on your buildfarm machine.
regards, tom lane