/ Check-in [b7dd05b4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed typo in comment in mkkeywordhash.c. (CVS 6009)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b7dd05b403e69caca814ccd8824130f176160cd5
User & Date: shane 2008-12-10 20:11:01
Context
2008-12-10
21:19
Additional work at eliminating silly compiler warnings. (CVS 6010) check-in: ea01d437 user: drh tags: trunk
20:11
Fixed typo in comment in mkkeywordhash.c. (CVS 6009) check-in: b7dd05b4 user: shane tags: trunk
20:10
Added option (-l) to lemon parser to have it skip printing line numbers (#line ... ). (CVS 6008) check-in: ccb9393a user: shane tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mkkeywordhash.c.

    11     11   ** A header comment placed at the beginning of generated code.
    12     12   */
    13     13   static const char zHdr[] = 
    14     14     "/***** This file contains automatically generated code ******\n"
    15     15     "**\n"
    16     16     "** The code in this file has been automatically generated by\n"
    17     17     "**\n"
    18         -  "**     $Header: /home/drh/sqlite/trans/cvs/sqlite/sqlite/tool/mkkeywordhash.c,v 1.33 2008/12/08 18:19:18 drh Exp $\n"
           18  +  "**     $Header: /home/drh/sqlite/trans/cvs/sqlite/sqlite/tool/mkkeywordhash.c,v 1.34 2008/12/10 20:11:01 shane Exp $\n"
    19     19     "**\n"
    20     20     "** The code in this file implements a function that determines whether\n"
    21     21     "** or not a given identifier is really an SQL keyword.  The same thing\n"
    22     22     "** might be implemented more directly using a hand-written hash table.\n"
    23     23     "** But by using this automatically generated code, the size of the code\n"
    24     24     "** is substantially reduced.  This is important for embedded applications\n"
    25     25     "** on platforms with limited memory.\n"
    26     26     "*/\n"
    27     27   ;
    28     28   
    29     29   /*
    30         -** All the keywords of the SQL language are stored as in a hash
           30  +** All the keywords of the SQL language are stored in a hash
    31     31   ** table composed of instances of the following structure.
    32     32   */
    33     33   typedef struct Keyword Keyword;
    34     34   struct Keyword {
    35     35     char *zName;         /* The keyword name */
    36     36     char *zTokenType;    /* Token value for this keyword */
    37     37     int mask;            /* Code this keyword if non-zero */