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

Unified Diff: third_party/sqlite/mkopcodec.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/mkextw.sh ('k') | third_party/sqlite/mkopcodeh.awk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/mkopcodec.awk
===================================================================
--- third_party/sqlite/mkopcodec.awk (revision 56608)
+++ third_party/sqlite/mkopcodec.awk (working copy)
@@ -1,31 +0,0 @@
-#!/usr/bin/awk -f
-#
-# This AWK script scans the opcodes.h file (which is itself generated by
-# another awk script) and uses the information gleaned to create the
-# opcodes.c source file.
-#
-# Opcodes.c contains strings which are the symbolic names for the various
-# opcodes used by the VDBE. These strings are used when disassembling a
-# VDBE program during tracing or as a result of the EXPLAIN keyword.
-#
-BEGIN {
- print "/* Automatically generated. Do not edit */"
- print "/* See the mkopcodec.awk script for details. */"
- printf "#if !defined(SQLITE_OMIT_EXPLAIN)"
- printf " || !defined(NDEBUG)"
- printf " || defined(VDBE_PROFILE)"
- print " || defined(SQLITE_DEBUG)"
- print "const char *sqlite3OpcodeName(int i){"
- print " static const char *const azName[] = { \"?\","
-}
-/define OP_/ {
- sub("OP_","",$2)
- i++
- printf " /* %3d */ \"%s\",\n", $3, $2
-}
-END {
- print " };"
- print " return azName[i];"
- print "}"
- print "#endif"
-}
« no previous file with comments | « third_party/sqlite/mkextw.sh ('k') | third_party/sqlite/mkopcodeh.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698