Thread: pgsql: Adjust yywrap macro for non-reentrant scanners for MSVC.

pgsql: Adjust yywrap macro for non-reentrant scanners for MSVC.

From
Andrew Dunstan
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/08a0c2dabc3b9d59d72d7a79ed867b8e37d275a7

Modified Files
--------------
src/tools/msvc/pgflex.bat |   12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)