From e36d23a85ebff914d74bb541558c2b6082b78edb Mon Sep 17 00:00:00 2001 From: dan miller Date: Sat, 20 Oct 2007 02:49:29 +0000 Subject: sqlite source (unix build) added to libraries --- .../sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 libraries/sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk (limited to 'libraries/sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk') diff --git a/libraries/sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk b/libraries/sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk new file mode 100644 index 0000000..4920106 --- /dev/null +++ b/libraries/sqlite/unix/sqlite-3.5.1/tool/opcodeDoc.awk @@ -0,0 +1,23 @@ +# +# Extract opcode documentation for sqliteVdbe.c and generate HTML +# +BEGIN { + print "" + print "

SQLite Virtual Database Engine Opcodes

" + print "" +} +/ Opcode: /,/\*\// { + if( $2=="Opcode:" ){ + printf "\n\n" + }else if( NF>1 ){ + sub(/^ *\*\* /,"") + gsub(/" +} -- cgit v1.1
%s %s %s %s\n", $3, $4, $5, $6 + }else if( $1=="*/" ){ + printf "