summaryrefslogtreecommitdiff
path: root/tools/lemon
AgeCommit message (Collapse)AuthorFilesLines
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
2004-07-18 .cvsignore is deadJörg Mayer1-12/+0
it has been replaced by svn proplist -v <dir/file> and svn propedit <dir/file> svn path=/trunk/; revision=11422
2004-07-18Add epan/dissectors/.cvsignoreJörg Mayer1-0/+2
Add tags and TAGS to all .cvsignore files svn path=/trunk/; revision=11419
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris7-7/+7
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-04-25Add support for flex 2.5.31.Gilbert Ramirez1-1/+17
svn path=/trunk/; revision=10684
2004-01-25Fix a warning by using a function typedefJörg Mayer1-5/+9
svn path=/trunk/; revision=9834
2004-01-18Fix some of the warnings when compiling with -Wstrict-prototypesJörg Mayer1-4/+2
svn path=/trunk/; revision=9720
2003-12-21removed some MSVC warnings (added type casts)Ulf Lamping1-3/+6
svn path=/trunk/; revision=9371
2003-10-10Give every Makefile.nmake file a "distclean" rule, and have "distclean"Guy Harris1-1/+3
recurse into subdirectories doing "nmake -f Makefile.nmake distclean". Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean" doesn't remove (such as Flex/Bison output and config.h files) - and have "nmake -f Makefile.nmake distclean" remove stuff that "make distclean" removes, including "tethereal-tap-register.c" and "ethereal-tap-register.c". svn path=/trunk/; revision=8672
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer2-33/+33
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-05-04From Joerg Mayer: mark possibly-unused arguments as unused.Guy Harris1-4/+4
svn path=/trunk/; revision=5388
2002-05-04From Joerg Mayer: get rid of an unused argument, and flag another asGuy Harris1-6/+5
unused. svn path=/trunk/; revision=5387
2002-02-27From Joerg Mayer:Guy Harris1-1/+5
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
2002-01-30Fix up some type/size problems that showed up when compiling on DigitalGuy Harris1-7/+8
UNIX on Alpha. svn path=/trunk/; revision=4635
2002-01-04From Hamish Moffatt:Guy Harris1-1/+1
Add some missing files in the "clean" targets. Use pod2html rather than man2html to build HTML man pages. Fix ethereal.nsi.in for recent versions of NSIS, and fix a typo. svn path=/trunk/; revision=4475
2001-12-12From Motonori Shindo:Guy Harris1-3/+3
fix a bogus batch mode inference rule of make, so that "vc60.pdb" files are created in the proper directory; delete ".pdb" files in a "nmake -f Makefile.nmake clean"; include the text2pcap and mergecap ".pdb" files in the Windows binary distribution. svn path=/trunk/; revision=4385
2001-11-09Remove "text2pcap-scanner.obj" and "tools\lemon\lemon.obj" when a "nmakeGuy Harris1-1/+1
clean" is done. svn path=/trunk/; revision=4188
2001-10-04From Motonori Shindo: have CVS ignore some files generated by Win32Guy Harris1-0/+2
builds. svn path=/trunk/; revision=3995
2001-07-22Do __attribute__ stuff if the GCC version number is greater than orGuy Harris1-2/+2
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765
2001-06-26If length arguments to "%*s" aren't of type "int", cast them to "int",Guy Harris1-4/+4
as that's what C requires them to be. svn path=/trunk/; revision=3610
2001-04-23Signed vs. unsigned fixes from Joerg Mayer.Guy Harris1-6/+6
svn path=/trunk/; revision=3372
2001-04-18nmake was compiling lemon.c twice; now let it use its defaultGilbert Ramirez1-5/+1
rules, keeping it from over-compiling. svn path=/trunk/; revision=3325
2001-04-18Revert. MSVC is wrong. Thanks to Guy for pointing that out.Gilbert Ramirez1-3/+13
svn path=/trunk/; revision=3323
2001-04-18Makefile.nmake pulls in settings from config.nmakeGilbert Ramirez2-3/+10
Move 'const' keyword to keep const qualifiers balanced... gets rid of complaint from MSVC. svn path=/trunk/; revision=3321