On Thu, 2005-02-10 at 00:59 -0800, [EMAIL PROTECTED] wrote: > I found this list of keywords in tokenize.c. A little search-and-replace-- > replacing TK_ with ', etc.--and it makes a nice set for validating keywords. > > > Two questions: Am I safe in assuming this represents the entire set of > keywords > in SQLite? > > And why does TK_JOIN_KW, appear in there so many times? >
The mapping from token codes to keywords is not one-to-one, as the TK_JOIN_KW code illustrates. To get a list of keywords, it is better to consult mkkeywordhash.c. http://www.sqlite.org/cvstrac/getfile/sqlite/tool/mkkeywordhash.c -- D. Richard Hipp <[EMAIL PROTECTED]>

