Andrew Dunstan <andrew@dunslane.net> writes:
> On 04/24/2011 09:11 AM, Andrew Chernow wrote:
>> The macro is overriding the prototype declared at line 627, which has
>> a void argument list (assuming YY_SKIP_YYWRAP is !defined). Since all
>> code references to this do not provide an argument, I'd say the macro
>> is incorrect.
> Here's the fix that worked for me:
Could we please make this conditional on seeing "%option reentrant" in
the .l file, instead of hard-wiring an assumption about which scanners
are re-entrant?
regards, tom lane