aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
AgeCommit message (Collapse)AuthorFilesLines
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
2006-03-21Use "opt_func_string_t" so that we get some more type checking done.Guy Harris1-14/+11
Use safe_ versions of <ctype.h> macros, so we don't get hosed by characters with the 8th bit set. Define "tplt_linedir()" with a function prototype. Constify some stuff to squelch compiler warnings. svn path=/trunk/; revision=17694
2006-03-21Make it a bit more like the SQLite lemon.c 1.36.Guy Harris1-45/+40
Get rid of some function pointer casting. Get rid of an unused routine, and make some routines static. Remove trailing white space. svn path=/trunk/; revision=17693
2006-03-21Mimmicing lemon.c 1.36 exactly for Symbolcmpp does not make MSVC completly ↵Anders Broman1-3/+5
happy, see what FC4 says. svn path=/trunk/; revision=17692
2006-03-21Upadates to squlite:s lemon 1.36Anders Broman2-412/+1285
svn path=/trunk/; revision=17691
2006-03-20Try again, this should take us to lemon version 1.16 ↵Anders Broman2-117/+40
http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lemon.c svn path=/trunk/; revision=17683
2006-03-20Back out the previous changes (:Anders Broman2-55/+45
svn path=/trunk/; revision=17680
2006-03-20Insert the code from sqlite ↵Anders Broman2-45/+55
http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lemon.c: 2002-Mar-10 21:21 1.11 Check-in [425] : Bug fix: updates within a transaction would fail if there was existed a temporary table. By drh. (diff) 2002-Mar-03 02:49 1.10 Check-in [411] : Bug fixes and additional tests for the subquery flattener. By drh. (diff) svn path=/trunk/; revision=17679
2006-03-19Sqlite lemon 1.8 ( 1.7 Make lemon 64-bit clean skipped) :Anders Broman2-25/+48
Bugfix Check-in [388] : Bug fix in lemon: 3-way conflicts (SHIFT/REDUCE/REDUCE) were not detected or resolved. This is now fixed. Also, table compression works a little better. By drh. (diff) http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lemon.c svn path=/trunk/; revision=17668
2006-03-19Align lemon/lempar.c with Squlite ver 1.2 ↵Anders Broman2-9/+57
http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lempar.c svn path=/trunk/; revision=17666
2006-03-16Copy a bugfix from http://www.sqlite.org/cvstrac/tktview?tn=313Anders Broman1-2/+1
svn path=/trunk/; revision=17651
2006-03-09Actually fix that leak!Luis Ontanon1-4/+9
svn path=/trunk/; revision=17540
2006-03-08An unimportant and harmless one per run leak in a tool used for building... ↵Luis Ontanon1-1/+2
Coverity cannot evaluate that :P run 14 CID 107 svn path=/trunk/; revision=17526
2006-03-07Undo the prevous unfortunate "rearrangement of code".Anders Broman1-80/+81
svn path=/trunk/; revision=17508
2006-03-07Fix a bug reported by covierty and solved by ↵Anders Broman1-81/+81
http://www.sqlite.org/cvstrac/rlog?f=sqlite/tool/lemon.c Rearrange the code a bit to make it easier to make a diff with the sqlite version of lemon. svn path=/trunk/; revision=17502
2005-08-04Albert Chin:Jörg Mayer1-1/+1
"config.h" should always be included first. However, lemon includes <stdio.h> first. svn path=/trunk/; revision=15208
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-6/+6
svn path=/trunk/; revision=15172
2005-07-26rom Maynard, Chris :Anders Broman1-1/+1
The attached patches, generated via svn diff , correct various compiler & lint warnings, among them: lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers svn path=/trunk/; revision=15086
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer1-1/+1
svn path=/trunk/; revision=15015
2005-07-22Fix some warnings (and one of my previous 'fixes')Jörg Mayer1-2/+2
svn path=/trunk/; revision=14997
2005-07-22More 'char*' -> 'const char*' warning fixesJörg Mayer1-27/+27
svn path=/trunk/; revision=14986
2005-07-10After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"Jörg Mayer1-0/+3
returned quite a list of files. Add them to MAINTAINERCLEANFILES. Whitespace changes (replace multiple spaces by TABs, in a few cases this needed to be done at the beginning of Makefile lines. svn path=/trunk/; revision=14891
2005-06-14From Steve Grubb:Gerald Combs1-2/+2
Fix bounds checking in lemon.c. Fix up an if/else block in packet-dcerpc-samr.c. Fix hex printing in packet-gtp.c. Fix other problems discovered by Steve: Fix a bounds check in packet-isis-lsp.c. Also, fix netmask printing on non-little-endian machines. Add a comment about adding a netmask routine to to_str.c. Add bounds checks to packet-ncp2222.inc. All of these apply to bug 217. svn path=/trunk/; revision=14627
2005-03-16Add a comment about where lemon is maintained now.Anders Broman1-0/+4
svn path=/trunk/; revision=13781
2005-02-14Make the "maintainer-clean" rules get rid of some additional generatedGuy Harris1-0/+2
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
2004-07-25Fix up the declaration of yy_accept().Gerald Combs1-1/+4
svn path=/trunk/; revision=11521
2004-07-23Trivial warning fixes:Jörg Mayer1-1/+1
- comma at end of enum - function declarations with empty args instead of void - c++ style comments svn path=/trunk/; revision=11492