Message-id: <
20040521085158.GA10660@ethan>
(modified regexp)
p4raw-id: //depot/perl@22836
next if $opt_e && $enum_name =~ /$opt_e/;
my $val = 0;
for my $item (split /,/, $enum_body) {
- my ($key, $declared_val) = $item =~ /(\w*)\s*=\s*(.*)/;
+ my ($key, $declared_val) = $item =~ /(\w+)\s*=\s*(.*)/;
$val = length($declared_val) ? $declared_val : 1 + $val;
$seen_define{$key} = $declared_val;
$const_names{$key}++;