drh
43617e9ab9
Code changes resulting from Coverity analysis.
...
http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf().
Also 2 failures to fclose() following a malloc() failure. And lots of
cases where unnecessary conditionals could be removed from the code. (CVS 3126)
FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
2006-03-06 20:55:46 +00:00
drh
fd405314d3
About 0.5KiB of additional compression in the parser tables. (CVS 2764)
...
FossilOrigin-Name: f39974ebd81f274dc4cf6cf94e6e87ee7b4a0814
2005-11-06 04:06:59 +00:00
drh
ada354db0e
Improved table compression in lemon reduces the overall library size
...
by about 1.5KiB. (CVS 2761)
FossilOrigin-Name: 86ac11476962727d2d40b62ce87d689c01969537
2005-11-05 15:03:59 +00:00
drh
dc30dd3158
Patch the command-line error message printing for lemon. Ticket #1120 . (CVS 2345)
...
FossilOrigin-Name: 97c7aaf1870a86955f0f3a0cbe06187e3c3ccc90
2005-02-16 03:35:15 +00:00
danielk1977
940fac9dc5
Minor changes to avoid warnings on some compilers. (CVS 2267)
...
FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
2005-01-23 22:41:37 +00:00
drh
8d65973d93
Fix a bug in lemon that does not effect SQLite. Ticket #1068 . (CVS 2208)
...
FossilOrigin-Name: 7113b5ed8d51718356ce1cc51896a3070875a7e2
2005-01-13 23:54:06 +00:00
drh
5719628afb
Convert many constants to have type "const". (CVS 2006)
...
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
2aa6ca45c1
In lemon, allows open() using the "b" option to avoid \r problems on windows.
...
Ticket #897 . (CVS 1956)
FossilOrigin-Name: b5b2e3db09831fe808f9f2692a836eef716df1c5
2004-09-10 00:14:04 +00:00
drh
9db55dfb98
Fix lemon so that inserted code always ends in a newline. Ticket #895 . (CVS 1955)
...
FossilOrigin-Name: 13fba17e3f75c08142db6acc8884a78ac0bcdfd6
2004-09-09 14:01:21 +00:00
drh
af805ca035
Lemon escapes backslashes in filenames in #line directives it generates.
...
Ticket #892 . (CVS 1943)
FossilOrigin-Name: d53047cbbc4e618c7bb5161b6f82876bb113db25
2004-09-07 11:28:25 +00:00
drh
7f4680c92e
Remove the \001 character that lemon inserts automatically in its
...
output file. The need for this character has expired and it creates
confusion for users. Ticket #877 (CVS 1920)
FossilOrigin-Name: acfc59186ac7452c0a74dc4ef8df9a1c94fc4f46
2004-08-30 14:22:31 +00:00
drh
7ac25c7510
Enhance lemon so that a @X instead of just X in the code expands to the
...
major token value rather than the minor token value. Use this to make
the parser a few hundred bytes smaller. (CVS 1895)
FossilOrigin-Name: 28215096e0748b5b02776ddb4c964e0161bc0f16
2004-08-19 15:12:26 +00:00
drh
0bb132bedc
Lemon collapses common destructors and reduce actions into a single case. (CVS 1837)
...
FossilOrigin-Name: 3c5aa850eeec5c75c5200a3707852cc5fc9e780b
2004-07-20 14:06:51 +00:00
drh
6d08b4d647
Add the '%ifdef' capability to lemon. Other minor changes. (CVS 1836)
...
FossilOrigin-Name: 522ff721ccc33c4b89072fed4e451f0df82e8140
2004-07-20 12:45:22 +00:00
drh
218dc69436
Synchronize lemon.c to the version on the 2.8 branch. (CVS 1513)
...
FossilOrigin-Name: 6ab3af8847a7b0f1508824c9d8e0ec9685219371
2004-05-31 23:13:45 +00:00
drh
cc83b6e071
Add an extra assert() to lemon.c to make debugging easier. Ticket #692 . (CVS 1305)
...
FossilOrigin-Name: 818bdba5dc25cda56716fdda1781a3d4ecb3a111
2004-04-23 23:38:42 +00:00
drh
60d316542f
Do not sort terminal symbols by name. The terminals remain in the same order
...
that they are encountered in the grammar file. This results in parse tables
that are 25% smaller. (CVS 1261)
FossilOrigin-Name: f36b122d9767fa9e6dc5bcce04b5606d67cad3d9
2004-02-22 00:08:04 +00:00
drh
784d86f716
Fix a bug in the parser table compression algorithm of lemon. (CVS 1249)
...
FossilOrigin-Name: 8d3e924975681a871e0eeac3b6a62cffdb947ac7
2004-02-19 18:41:53 +00:00
drh
fdbf928b08
Fix bugs in lemon associated with the change to a perfect hash table. (CVS 1113)
...
FossilOrigin-Name: c0d1b26966aeb445fea5792e5a9e93632e758c2a
2003-10-21 16:34:41 +00:00
drh
8b582012de
Convert lemon to use a single perfect hash table for storing the actions.
...
This should make the resulting parser both smaller and faster. (CVS 1112)
FossilOrigin-Name: 4f955c00076b16166ff837749efb84201eab3c3a
2003-10-21 13:16:03 +00:00
drh
3b2129cf77
A change to lemon related to ticket #313 . (CVS 972)
...
FossilOrigin-Name: b59d9033d5556015543ac5ca23110ccbeb4391f0
2003-05-13 00:34:21 +00:00
drh
f9a2e7bb8d
Change lemon to use <stdarg.h> instead of <varargs.h> because GCC no longer
...
supports varargs.h. Tickets #288 and #280 . Ironically, lemon originally
used varargs.h because stdarg.h was not supported by the compiler I was
using in 1989 (which was gcc if I recall correctly.) (CVS 905)
FossilOrigin-Name: 7902e4778ec86e25ad949ae7a6d55b63ac0e85f3
2003-04-15 01:49:48 +00:00
drh
b27b83a941
Fix for ticket #134 : Change the lemon.c sources to work around a problem with
...
the AIX C compiler. (CVS 715)
FossilOrigin-Name: 07f6020bb56d6d1bffdd936017f61cfae5bd134b
2002-08-14 23:18:57 +00:00
drh
0bd1f4ea5a
Added the %fallback directive to the lemon parser generator and used this
...
in the parser to make the parse tables much smaller. This reduced the size
of the library by 15K. (CVS 605)
FossilOrigin-Name: 7ac5bd293cbb2bf252f31f1571f7efac7e77280a
2002-06-06 18:54:39 +00:00
drh
1f245e488a
Change the way that lemon handles %extra_argument. (CVS 427)
...
FossilOrigin-Name: ffc387a48a9864b7f323314fbf8295b5bb2a3bd1
2002-03-11 13:55:50 +00:00
drh
7218ac7098
Bug fix: updates within a transaction would fail if there was existed
...
a temporary table. (CVS 425)
FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
2002-03-10 21:21:00 +00:00
drh
1b2e032999
Bug fixes and additional tests for the subquery flattener. (CVS 411)
...
FossilOrigin-Name: 2c05389eda391e38894fc6969e29766df82a8fec
2002-03-03 02:49:51 +00:00
drh
b29b0a5227
Modify lemon to use much less memory for its parser tables. This reduces
...
the size of the library by 50K, which is important for an embedded library. (CVS 389)
FossilOrigin-Name: 67a135a051e7c96ddbfe85976539b4b8372c7026
2002-02-23 19:39:46 +00:00
drh
b59499c73b
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. (CVS 388)
FossilOrigin-Name: 8da0ac9a8bb859377613dd18f4f423eb49c7338b
2002-02-23 18:45:13 +00:00
drh
ba99af57ac
Make lemon 64-bit clean (CVS 294)
...
FossilOrigin-Name: 475e2fedda2256cc1cfdffa1b12745bc401e552d
2001-10-25 20:37:16 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
960e8c6317
Bug fixes from Oleg Oleinick (CVS 195)
...
FossilOrigin-Name: 1f0197d504fa2bde15b287ac6c0102cacdb1e482
2001-04-03 16:53:21 +00:00
drh
61bc272814
bug fix in lemon (CVS 136)
...
FossilOrigin-Name: 6f4c080739333dbbc3556b5cf96f341f62167646
2000-08-20 11:42:46 +00:00
drh
b0c86771d5
:-) (CVS 44)
...
FossilOrigin-Name: cd83d3cfeb26ebf0d33e7113d0ee549c9cfd55c5
2000-06-02 23:21:26 +00:00
drh
b1edd01ec9
:-) (CVS 42)
...
FossilOrigin-Name: 11e3296319843356cf09832577f7dea4b33c78be
2000-06-02 18:52:12 +00:00
drh
75897234be
initial check-in of the new version (CVS 1)
...
FossilOrigin-Name: 6f3655f79f9b6fc9fb7baaa10a7e0f2b6a512dfa
2000-05-29 14:26:00 +00:00