From 5855dd8d538eb81d4825961b1bf0d583bf96f751 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 27 Aug 2014 22:20:12 +0200 Subject: Lemon: Update lemon tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix warning: declaration shadows a variable in the global scope [-Wshadow] Add include Fix warning: unused parameter 'argc' [-Wunused-parameter] (using _U_) Fix implicit conversion loses integer precision Fix comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] Fix function declaration isn’t a prototype [-Wstrict-prototypes] Fix warning: old-style function definition [-Wold-style-definition] Fix trailing whitespace Fix use -T for template for epan\Makefile.nmake, epan\dfilter\Makefile.nmake, plugins\mate\Makefile.nmake, plugins\tpg\Makefile.nmake and cmake/modules/UseLemon.cmake Fix -Wmissing-prototypes Remove unused function (acttab_free) Add basename the filename with only filename (no path...) Change-Id: Ia79f61e29f828575df61cc89134c6c553044e86d Reviewed-on: https://code.wireshark.org/review/3976 Petri-Dish: Alexis La Goutte Reviewed-by: Alexis La Goutte --- plugins/tpg/Makefile.nmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/tpg') diff --git a/plugins/tpg/Makefile.nmake b/plugins/tpg/Makefile.nmake index 48e5958d52..e10daf85cc 100644 --- a/plugins/tpg/Makefile.nmake +++ b/plugins/tpg/Makefile.nmake @@ -55,7 +55,7 @@ mate_parser.c : mate_parser.l mate_grammar.h : mate_grammar.c mate_grammar.c : mate_grammar.lemon $(LEMON)\lemon.exe - $(LEMON)\lemon.exe t=$(LEMON)\lempar.c mate_grammar.lemon + $(LEMON)\lemon.exe T=$(LEMON)\lempar.c mate_grammar.lemon $(LEMON)\lemon.exe: cd ../../tools -- cgit v1.2.1