Adjust yywrap macro for non-reentrant scanners for MSVC.
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 25 Apr 2011 13:10:59 +0000 (09:10 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 25 Apr 2011 13:10:59 +0000 (09:10 -0400)
commit08a0c2dabc3b9d59d72d7a79ed867b8e37d275a7
tree55fc419c88f39317049c7507a8e762c323893a6e
parent5948a6eeaa682aeb1a8f389ae2136915b2a0e990
Adjust yywrap macro for non-reentrant scanners for MSVC.

The MSVC compiler complains if a macro is called with less arguments
than its definition provides for. flex generates a macro with one
argument for yywrap, but only supplies the argument for reentrant
scanners, so we remove the useless argument in the non-reentrant
case to silence the warning.
src/tools/msvc/pgflex.bat