Artifact 5ba1f48aa854ee3b7c3d2b54233665bc3e649ea2:
- File tool/opNames.awk — part of check-in [35a8feed0d] at 2001-04-04 11:48:57 on branch trunk — Added transaction support (CVS 196) (user: drh size: 359)
# Read the sqliteVdbe.h file and generate a table of opcode names. # BEGIN { printf "static char *zOpName[] = { 0,\n" n = 0 } /^#define OP_MAX/ { next } /^#define OP_/ { name = "\"" substr($2,4) "\"," if( n<3 ){ printf " %-19s", name n++ } else { printf " %s\n", name n = 0 } } END { if( n ){ printf "\n" } printf "};\n" }