Fix warning from Perl 5.21 in helper script
This commit is contained in:
parent
5791109707
commit
ae738c29eb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ my @consts;
|
|||
my $state = 'out';
|
||||
while (<>)
|
||||
{
|
||||
if( $state eq 'out' and /^(typedef )?enum {/ ) {
|
||||
if( $state eq 'out' and /^(typedef )?enum \{/ ) {
|
||||
$state = 'in';
|
||||
} elsif( $state eq 'out' and /^(typedef )?enum/ ) {
|
||||
$state = 'start';
|
||||
|
|
Loading…
Reference in a new issue