diff options
author | David Mitchell <davem@iabyn.com> | 2011-01-11 17:22:59 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2011-01-14 16:13:54 +0000 |
commit | 218eba0d3b2680ca4cf77ccdda80ad6039b67954 (patch) | |
tree | b04fa77a8bd217aa3405683c5522f0509db911b4 /regen | |
parent | f56b6394f7cf57733135f56e4e4ac49abe9ac9cc (diff) | |
download | perl-218eba0d3b2680ca4cf77ccdda80ad6039b67954.tar.gz |
add enum index in overload.h comments
makes debugging marginally easier!
Diffstat (limited to 'regen')
-rw-r--r-- | regen/overload.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regen/overload.pl b/regen/overload.pl index a41c820e3b..1cd07dd954 100644 --- a/regen/overload.pl +++ b/regen/overload.pl @@ -109,7 +109,8 @@ for (0..$#enums) { die if $op =~ m{\*/}; my $l = 3 - int((length($enums[$_]) + 9) / 8); $l = 1 if $l < 1; - printf " %s_amg,%s/* %-8s */\n", $enums[$_], ("\t" x $l), $op; + printf " %s_amg,%s/* 0x%02x %-8s */\n", $enums[$_], + ("\t" x $l), $_, $op; } print <<'EOF'; |