buildopcode.awk 214 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 BEGIN { print "\n" } { printf "OpcodeTable[%s-FIRSTTOKEN]=BuildOpcode%d(", toupper($2), NF-2 for (i = 3; i < NF; i++) { printf "%s, ", $i } printf "%s);\n", $NF } END { print "\n" }