Adjust yywrap macro for non-reentrant scanners for MSVC.

Andrew Dunstan <andrew@dunslane.net>

Commit: 08a0c2dabc3b9d59d72d7a79ed867b8e37d275a7
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2011-04-25T13:10:59Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/tools/msvc/pgflex.bat modified +11 −1