#
# Extract opcode documentation for sqliteVdbe.c and generate HTML
#
BEGIN {
print "
"
print "SQLite Virtual Database Engine Opcodes
"
print ""
}
/ Opcode: /,/\*\// {
if( $2=="Opcode:" ){
printf "%s %s %s %s | \n\n", $3, $4, $5, $6
}else if( $1=="*/" ){
printf " |
\n"
}else if( NF>1 ){
sub(/^ *\*\* /,"")
gsub(/,"<")
gsub(/&/,"&")
print
}
}
END {
print "
"
}