Subject: Re: h2ph problem on Solaris 2.6/SPARC/Sun compiler
Message-ID: <Pine.SV4.3.93.
980627010407.21715A-100000@xenon.teaching.cs.adelaide.edu.au>
p4raw-id: //depot/perl@1278
} elsif(/^ident\s+(.*)/) {
print OUT $t, "# $1\n";
}
- } elsif(/^\s*(typedef\s*)?enum\b/) {
+ } elsif(/^\s*(typedef\s*)?enum(\s+[a-zA-Z_]\w*)?\s*\{/) {
until(/\}.*?;/) {
chomp($next = <IN>);
$_ .= $next;