Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/tool/mkkeywordhash.c

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** Compile and run this standalone program in order to generate code that 2 ** Compile and run this standalone program in order to generate code that
3 ** implements a function that will translate alphabetic identifiers into 3 ** implements a function that will translate alphabetic identifiers into
4 ** parser token codes. 4 ** parser token codes.
5 */ 5 */
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <assert.h> 9 #include <assert.h>
10 10
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 printf(" }\n"); 593 printf(" }\n");
594 printf(" return TK_ID;\n"); 594 printf(" return TK_ID;\n");
595 printf("}\n"); 595 printf("}\n");
596 printf("int sqlite3KeywordCode(const unsigned char *z, int n){\n"); 596 printf("int sqlite3KeywordCode(const unsigned char *z, int n){\n");
597 printf(" return keywordCode((char*)z, n);\n"); 597 printf(" return keywordCode((char*)z, n);\n");
598 printf("}\n"); 598 printf("}\n");
599 printf("#define SQLITE_N_KEYWORD %d\n", nKeyword); 599 printf("#define SQLITE_N_KEYWORD %d\n", nKeyword);
600 600
601 return 0; 601 return 0;
602 } 602 }
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/tool/lempar.c ('k') | third_party/sqlite/sqlite-src-3070603/tool/mkopts.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698