From 36b47fdfdc6c100c382b238da24c3b3d1b10be4b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 21 May 2008 11:18:12 -0700 Subject: [PATCH] insns.pl: readabilty improvements for isnsnd.c Make insnsd.c a bit more consistent in style. --- insns.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/insns.pl b/insns.pl index 594eec16..604e2e8c 100644 --- a/insns.pl +++ b/insns.pl @@ -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; } -- 2.11.4.GIT