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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/tool/lemon.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 ** This file contains all sources (including headers) to the LEMON 2 ** This file contains all sources (including headers) to the LEMON
3 ** LALR(1) parser generator. The sources have been combined into a 3 ** LALR(1) parser generator. The sources have been combined into a
4 ** single file to make it easy to include LEMON in the source tree 4 ** single file to make it easy to include LEMON in the source tree
5 ** and Makefile of another program. 5 ** and Makefile of another program.
6 ** 6 **
7 ** The author of this program disclaims copyright. 7 ** The author of this program disclaims copyright.
8 */ 8 */
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stdarg.h> 10 #include <stdarg.h>
(...skipping 4908 matching lines...) Expand 10 before | Expand all | Expand 10 after
4919 ** as it is removed. ("f" may be null to avoid this step.) */ 4919 ** as it is removed. ("f" may be null to avoid this step.) */
4920 void Configtable_clear(int(*f)(struct config *)) 4920 void Configtable_clear(int(*f)(struct config *))
4921 { 4921 {
4922 int i; 4922 int i;
4923 if( x4a==0 || x4a->count==0 ) return; 4923 if( x4a==0 || x4a->count==0 ) return;
4924 if( f ) for(i=0; i<x4a->count; i++) (*f)(x4a->tbl[i].data); 4924 if( f ) for(i=0; i<x4a->count; i++) (*f)(x4a->tbl[i].data);
4925 for(i=0; i<x4a->size; i++) x4a->ht[i] = 0; 4925 for(i=0; i<x4a->size; i++) x4a->ht[i] = 0;
4926 x4a->count = 0; 4926 x4a->count = 0;
4927 return; 4927 return;
4928 } 4928 }
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/tool/genfkey.test ('k') | third_party/sqlite/sqlite-src-3070603/tool/lempar.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698