Wireshark-commits: [Wireshark-commits] master f51bad1: Use noyywrap rather than defining our own yy
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f51bad11d70b2548ed2cbf117b90bd9dbf1afedf
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f51bad1 by Guy Harris (guy@xxxxxxxxxxxx):
Use noyywrap rather than defining our own yywrap functions.
Tweak lemonflex-tail.inc to fix an issue this reveals.
It appears that, at least on the buildbots, the Visual Studio compiler
no longer issues warnings for the code generated with %option noyywrap.
Change-Id: Id64d56f1ae8a79d0336488a4a50518da1f511497
Reviewed-on: https://code.wireshark.org/review/12433
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 42333aa CMake+PortableApps: Include the VC runtime (second try).
adds f51bad1 Use noyywrap rather than defining our own yywrap functions.
Summary of changes:
epan/dfilter/scanner.l | 5 +++++
epan/diam_dict.l | 18 +++++-------------
epan/dtd_parse.l | 16 +++++-----------
epan/dtd_preparse.l | 16 +++++-----------
epan/radius_dict.l | 16 +++++-----------
epan/uat_load.l | 18 +++++-------------
plugins/mate/mate_parser.l | 16 +++++-----------
plugins/wimaxasncp/wimaxasncp_dict.l | 16 +++++-----------
text2pcap-scanner.l | 12 +++++-------
tools/lemon/lemonflex-tail.inc | 2 ++
ui/text_import_scanner.l | 11 +++++------
wiretap/ascend_scanner.l | 16 +++++-----------
wiretap/k12text.l | 16 +++++-----------
13 files changed, 62 insertions(+), 116 deletions(-)