From a186d329a47ebe7f4a2481016407898028454fde Mon Sep 17 00:00:00 2001 From: geniusgogo Date: Wed, 13 Nov 2013 22:27:45 +0800 Subject: add SQLite-3.8.1 authority original source tree --- .../external/SQLite-3.8.1/tool/opcodeDoc.awk | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 components/external/SQLite-3.8.1/tool/opcodeDoc.awk (limited to 'components/external/SQLite-3.8.1/tool/opcodeDoc.awk') diff --git a/components/external/SQLite-3.8.1/tool/opcodeDoc.awk b/components/external/SQLite-3.8.1/tool/opcodeDoc.awk new file mode 100644 index 0000000000..492010624f --- /dev/null +++ b/components/external/SQLite-3.8.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.3.1
%s %s %s %s\n", $3, $4, $5, $6 + }else if( $1=="*/" ){ + printf "