diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-06-01 07:56:17 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-07-02 08:49:02 +0000 |
commit | 9d8b81012700bda095418dd7f1f7d15b94809cab (patch) | |
tree | 93d91bd9ac8c5fef85d99c07f3ffa5d5f9d826de /plugins | |
parent | dc6d68c624401afb10061e08562883f23dd4b75c (diff) |
Lemon: Update lemon tools
Update from SQLite trunk (19 April 2015)
Add include <config.h>
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...)
Fix lemon.c:3435: warning: implicit conversion shortens 64-bit value into a 32-bit value
Add "new" version of lempar.c (3 November 2009).
LEMPAR: fix trailing whitespace
LEMPAR: fix -Wunused-parameter
Change-Id: I2df7e39c9a6846de26743a981fb76aca423fe813
Reviewed-on: https://code.wireshark.org/review/6502
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/mate/Makefile.nmake | 2 | ||||
-rw-r--r-- | plugins/tpg/Makefile.nmake | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mate/Makefile.am b/plugins/mate/Makefile.am index 1687bc98ff..dfbc07dbff 100644 --- a/plugins/mate/Makefile.am +++ b/plugins/mate/Makefile.am @@ -153,7 +153,7 @@ mate_parser.lo : mate_grammar.h mate_grammar.h : mate_grammar.c mate_grammar.c : mate_grammar.lemon mate.h mate_util.h $(LEMON)/lemon$(EXEEXT) - $(AM_V_LEMON)$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/mate_grammar.lemon || \ + $(AM_V_LEMON)$(LEMON)/lemon$(EXEEXT) T=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/mate_grammar.lemon || \ (rm -f grammar.c grammar.h ; false) checkapi: diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index dd715a6cfc..7687be0d6e 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -130,7 +130,7 @@ mate_parser.obj : mate_parser.c 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 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 |