diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-21 11:18:12 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-21 11:18:12 -0700 |
commit | 36b47fdfdc6c100c382b238da24c3b3d1b10be4b (patch) | |
tree | d3d94a6438010ccf7aaee1753a5539f7d9dbedb7 /insns.pl | |
parent | 2fb033af18c55d5e4412507b9a1bd513e8a6f2ff (diff) | |
download | nasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.tar.gz nasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.tar.bz2 nasm-36b47fdfdc6c100c382b238da24c3b3d1b10be4b.zip |
insns.pl: readabilty improvements for isnsnd.c
Make insnsd.c a bit more consistent in style.
Diffstat (limited to 'insns.pl')
-rw-r--r-- | insns.pl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -226,20 +226,20 @@ if ( !defined($output) || $output eq 'd' ) { print D "};\n"; } - print D "\nconst struct disasm_index * const itable_VEX[32][8] = {\n"; + print D "\nconst struct disasm_index * const itable_VEX[32][8] = {\n "; for ($m = 0; $m < 32; $m++) { - print D "\t{\n"; + print D " {\n"; for ($lp = 0; $lp < 8; $lp++) { $vp = sprintf("VEX%02X%01X", $m, $lp); if ($is_prefix{$vp}) { - printf D "\t\titable_%s,\n", $vp; + printf D " itable_%s,\n", $vp; } else { - print D "\t\tNULL,\n"; + print D " NULL,\n"; } } - print D "\t},\n"; + print D " },"; } - print D "};\n"; + print D "\n};\n"; close D; } |