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

Side by Side Diff: third_party/sqlite/src/mkopcodeh.awk

Issue 3108030: Move bundled copy of sqlite one level deeper to better separate it... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/mkopcodec.awk ('k') | third_party/sqlite/src/mkso.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/awk -f 1 #!/usr/bin/awk -f
2 # 2 #
3 # Generate the file opcodes.h. 3 # Generate the file opcodes.h.
4 # 4 #
5 # This AWK script scans a concatenation of the parse.h output file from the 5 # This AWK script scans a concatenation of the parse.h output file from the
6 # parser and the vdbe.c source file in order to generate the opcodes numbers 6 # parser and the vdbe.c source file in order to generate the opcodes numbers
7 # for all opcodes. 7 # for all opcodes.
8 # 8 #
9 # The lines of the vdbe.c that we are interested in are of the form: 9 # The lines of the vdbe.c that we are interested in are of the form:
10 # 10 #
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 print "#define OPFLG_IN3 0x0010 /* in3: P3 is an input */" 148 print "#define OPFLG_IN3 0x0010 /* in3: P3 is an input */"
149 print "#define OPFLG_OUT3 0x0020 /* out3: P3 is an output */" 149 print "#define OPFLG_OUT3 0x0020 /* out3: P3 is an output */"
150 print "#define OPFLG_INITIALIZER {\\" 150 print "#define OPFLG_INITIALIZER {\\"
151 for(i=0; i<=max; i++){ 151 for(i=0; i<=max; i++){
152 if( i%8==0 ) printf("/* %3d */",i) 152 if( i%8==0 ) printf("/* %3d */",i)
153 printf " 0x%02x,", bv[i] 153 printf " 0x%02x,", bv[i]
154 if( i%8==7 ) printf("\\\n"); 154 if( i%8==7 ) printf("\\\n");
155 } 155 }
156 print "}" 156 print "}"
157 } 157 }
OLDNEW
« no previous file with comments | « third_party/sqlite/src/mkopcodec.awk ('k') | third_party/sqlite/src/mkso.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698