| OLD | NEW |
| 1 /***** This file contains automatically generated code ****** | 1 /***** This file contains automatically generated code ****** |
| 2 ** | 2 ** |
| 3 ** The code in this file has been automatically generated by | 3 ** The code in this file has been automatically generated by |
| 4 ** | 4 ** |
| 5 ** $Header: /home/drh/sqlite/trans/cvs/sqlite/sqlite/tool/mkkeywordhash.c,v
1.38 2009/06/09 14:27:41 drh Exp $ | 5 ** $Header: /home/drh/sqlite/trans/cvs/sqlite/sqlite/tool/mkkeywordhash.c,v
1.38 2009/06/09 14:27:41 drh Exp $ |
| 6 ** | 6 ** |
| 7 ** The code in this file implements a function that determines whether | 7 ** The code in this file implements a function that determines whether |
| 8 ** or not a given identifier is really an SQL keyword. The same thing | 8 ** or not a given identifier is really an SQL keyword. The same thing |
| 9 ** might be implemented more directly using a hand-written hash table. | 9 ** might be implemented more directly using a hand-written hash table. |
| 10 ** But by using this automatically generated code, the size of the code | 10 ** But by using this automatically generated code, the size of the code |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 testcase( i==117 ); /* INITIALLY */ | 257 testcase( i==117 ); /* INITIALLY */ |
| 258 testcase( i==118 ); /* ALL */ | 258 testcase( i==118 ); /* ALL */ |
| 259 return aCode[i]; | 259 return aCode[i]; |
| 260 } | 260 } |
| 261 } | 261 } |
| 262 return TK_ID; | 262 return TK_ID; |
| 263 } | 263 } |
| 264 int sqlite3KeywordCode(const unsigned char *z, int n){ | 264 int sqlite3KeywordCode(const unsigned char *z, int n){ |
| 265 return keywordCode((char*)z, n); | 265 return keywordCode((char*)z, n); |
| 266 } | 266 } |
| OLD | NEW |