Actually, I thought it would fix my problem but it seems like it persists. What seems to happen is that the generate parse.h file stops at token ID #136. I can hack my way through although it does not make sense to me why TK_SPACE would not be generated from the parse.y file.
In case it makes a difference, I am using a DOS version of lemon which I built with LCC. Mario Hebert Legerity [EMAIL PROTECTED] 05/16/2006 08:35 PM Please respond to sqlite-users@sqlite.org To sqlite-users@sqlite.org cc Subject Re: [sqlite] Optimizing SQLite footprint and my misadventure with Lemon [EMAIL PROTECTED] wrote: > I got the basic features of SQLite to work on my project. Since I am > working with very limited flash and memory space I am trying to build the > library with as little as possible. Things work fine until I try to build > the parser with the following define: > > lemon.exe parse.y -DSQLITE_OMIT_ALTERTABLE -DSQLITE_OMIT_AUTHORIZATION > -DSQLITE_OMIT_AUTOVACUUM -DSQLITE_OMIT_AUTOINCREMENT > -DSQLITE_OMIT_BLOB_LITERAL -DSQLITE_OMIT_COMPLETE > -DSQLITE_OMIT_COMPOUND_SELECT -DSQLITE_OMIT_CONFLICT_CLAUSE > -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_FLOATING_POINT > -DSQLITE_OMIT_FOREIGN_KEY -DSQLITE_OMIT_INTEGRITY_CHECK > -DSQLITE_OMIT_PAGER_PRAGMAS -DSQLITE_OMIT_PRAGMA -DSQLITE_OMIT_REINDEX > -DSQLITE_OMIT_SCHEMA_PRAGMAS -DSQLITE_OMIT_SCHEMA_VERSION_PRAGMAS > -DSQLITE_OMIT_SUBQUERY -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_TRIGGER > -DSQLITE_OMIT_DATETIME_FUNCS > > When I try to compile the generated parse.c, I get some compilations > errors, mainly, with reference to some undefined tokens (e.g. > TK_CONST_FUNC). Did I just discover an unsupported combination of defines > or am I just missing something ? > > Please advice... > You also need to rebuild mkkeywordhash.c then run it to generate a new keywordhash.h file. -- D. Richard Hipp <[EMAIL PROTECTED]>