aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
AgeCommit message (Collapse)AuthorFilesLines
2012-02-02Include config.h in preparation of moving the definitionJörg Mayer1-0/+4
of _U_ from the compiler command line into config.h svn path=/trunk/; revision=40806
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40763
2011-05-19Fix an old style function declaration warning.Jörg Mayer1-4/+2
svn path=/trunk/; revision=37278
2011-04-01Don't use pParser->yyidx as an index into pParser->yystack[] until after it isChris Maynard1-2/+3
verified that it is non-negative. Should resolve CID 619. svn path=/trunk/; revision=36431
2011-03-31Memory leak in lemon.cRonnie Sahlberg1-5/+5
coverity 1177 svn path=/trunk/; revision=36427
2011-03-22Allocate space for null termination in make_basename.Stig Bjørlykke1-2/+2
Coverity 710. svn path=/trunk/; revision=36247
2011-03-22Coverity 323Ronnie Sahlberg1-1/+1
Use strdup to copy a string literal we will free() later on. svn path=/trunk/; revision=36240
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-1/+1
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2011-02-01WIN32 ==> _WIN32Bill Meier1-1/+1
svn path=/trunk/; revision=35745
2010-05-26More <stdarg.h> cleanup; some are real bugs, some are just "don't doGuy Harris1-1/+1
va_start and va_end unless you're actually going to use the va_list" (those bring the va_start and va_end closer to the use point, which makes it a little more obvious that we're using <stdarg.h> correctly and makes it a little harder to use it incorrectly). svn path=/trunk/; revision=32963
2010-05-14Add Cmake stuff to the source distribution so more people can try it out.Jeff Morriss1-1/+2
svn path=/trunk/; revision=32807
2009-11-09Removed an unused assignment.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30893
2009-11-07cmake will now honor -Werror if configured (default: on)Jörg Mayer1-0/+12
svn path=/trunk/; revision=30852
2009-10-29From Eric Sesterhenn via bug 4175:Stig Bjørlykke1-0/+2
Fixed fp leakage in error path. svn path=/trunk/; revision=30757
2009-10-20Removed some redundant prototypes and some shadowed variables.Stig Bjørlykke1-8/+3
svn path=/trunk/; revision=30632
2009-10-10Add tools/lemon/CMakeLists.txt which creates the lemon parser executableKovarththanan Rajaratnam1-0/+34
svn path=/trunk/; revision=30461
2009-06-08Move declaration of yymx.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28660
2009-06-08Remove resetting useCnt in errsym, as it seems to disable some error checkingStig Bjørlykke1-1/+6
we need to validate the filter syntax. svn path=/trunk/; revision=28659
2008-08-12Fix a bunch of Win64 compilation errors by cowardly casting size_ts to ints.Gerald Combs1-16/+16
svn path=/trunk/; revision=25992
2008-07-29Update to sqlite lemon.c 1.60 and lempar.c 1.36Anders Broman2-71/+156
svn path=/trunk/; revision=25858
2008-06-04Suppress some unused-argument warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=25422
2008-04-25Bug 2493: Fix (Part 1): Bill Meier1-1/+1
-TEXT_FUNC (const char *text) --> -TEXT_FUNC (char *text) To prevent Windows compiler error when using flex 2.5.35. (This also compiles OK for *NIX flex and for windows flex 2.5.4) svn path=/trunk/; revision=25172
2008-04-08Update Lemon to v1.54 and lempar to v 1.31 from sqlite ↵Anders Broman2-112/+186
http://www.sqlite.org/cvstrac/dir?d=sqlite/tool svn path=/trunk/; revision=24845
2008-04-07- Remove GLIB1 codeStephen Fisher1-1/+1
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
2008-03-23Running glib 2.16 on 32 bit platform requires this lempar.c change in ↵Jaap Keuter1-0/+6
addition to revision 24710. Makefiles updated to make new lempar.c effective in build rules. svn path=/trunk/; revision=24718
2007-11-27Update to sqlite lemon 1.51Anders Broman1-46/+62
svn path=/trunk/; revision=23629
2007-07-31If YY_SKIP_YYWRAP is defined, don't bother defining WRAP_FUNC - withGuy Harris1-5/+6
flex 2.5.31, WRAP_FUNC will end up being defined as a value that, when used as a function-style macro, expands to 1, so the definition of WRAP_FUNC will get a syntax error. svn path=/trunk/; revision=22428
2007-04-06Remove build detritusGraham Bloice1-1/+1
svn path=/trunk/; revision=21347
2007-03-26Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errorsStephen Fisher1-0/+4
under gcc to tools/lemon, plugins/mate and epan/ svn path=/trunk/; revision=21204
2007-03-25set "treat warnings as errors" CFLAGS, no warning were in this dir :-)Ulf Lamping1-1/+1
svn path=/trunk/; revision=21183
2007-03-23fix warnings of (generated) grammar.cUlf Lamping1-4/+4
svn path=/trunk/; revision=21146
2007-03-23squelch signedness warnings generated by generated code due to mayors being ↵Luis Ontanon1-2/+24
decleared as signed but added as signed in tables (it will generate larger tables when the number of tokens or actions is more than MAX_INT8, MAX_INT16). svn path=/trunk/; revision=21138
2007-03-22add type casts to fix two warningsUlf Lamping1-2/+2
svn path=/trunk/; revision=21137
2007-03-22squelch a warning generated by generated codeLuis Ontanon1-1/+1
svn path=/trunk/; revision=21134
2007-03-18Fix Windows Makefiles so clean removes all pdb files (PDB_FILE no longer ↵Bill Meier1-1/+1
defined) svn path=/trunk/; revision=21052
2007-02-20Nikns Siankin: Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1387Jörg Mayer1-1/+1
svn path=/trunk/; revision=20874
2007-02-07do not use an uninitialized rp->line to generate destructor code for rules ↵Luis Ontanon1-1/+4
without code. svn path=/trunk/; revision=20737
2007-01-16It looks that their fix to my fix broke things out...Luis Ontanon1-1/+3
svn path=/trunk/; revision=20452
2007-01-16update to lemon.c 1.43Luis Ontanon1-6/+6
svn path=/trunk/; revision=20447
2007-01-15Fix a major leakage of token minors in lemon generated parsers due to the ↵Luis Ontanon1-1/+3
fact that lemon was not genmerating destructor code for elements in the RHS of rules without C-code. svn path=/trunk/; revision=20442
2006-11-19Update to the latest versions from sqlite.Anders Broman2-27/+73
svn path=/trunk/; revision=19932
2006-11-14nikai@nikai.net:Jörg Mayer1-1/+0
Remaining fixes from: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225 svn path=/trunk/; revision=19895
2006-11-04xxx_PROGRAMS variables have the name of the program without $(EXEEXT).Guy Harris1-3/+2
Update Gerald's address. svn path=/trunk/; revision=19796
2006-11-03Fixes ./autogen.sh on Mac OS X...Michael Tüxen1-2/+2
svn path=/trunk/; revision=19782
2006-10-31Robert Schwebel:Jörg Mayer1-2/+2
Fix for http://bugs.wireshark.org/bugzilla/attachment.cgi?id=419&action=view cross compilation fails With the following change: Use only AC_CANONICAL_TARGET From the autoconf manual: The user is encouraged to use either `AC_CANONICAL_BUILD', or `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the needs. Using `AC_CANONICAL_TARGET' is enough to run the two other macros. svn path=/trunk/; revision=19753
2006-08-01Update lempar to sqlittes version 1.18Anders Broman1-36/+41
http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lempar.c svn path=/trunk/; revision=18815
2006-06-06Ethereal -> WiresharkGerald Combs1-1/+1
svn path=/trunk/; revision=18374
2006-05-31libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ ofGerald Combs1-3/+3
changes here. It compiles OK on OS X, but hasn't been tested anywhere else. svn path=/trunk/; revision=18260
2006-05-21name changeRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18197
2006-03-23Doc update from SqliteAnders Broman1-3/+36
svn path=/trunk/; revision=17707