mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01:00
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';
|
my $state = 'out';
|
||||||
while (<>)
|
while (<>)
|
||||||
{
|
{
|
||||||
if( $state eq 'out' and /^(typedef )?enum {/ ) {
|
if( $state eq 'out' and /^(typedef )?enum \{/ ) {
|
||||||
$state = 'in';
|
$state = 'in';
|
||||||
} elsif( $state eq 'out' and /^(typedef )?enum/ ) {
|
} elsif( $state eq 'out' and /^(typedef )?enum/ ) {
|
||||||
$state = 'start';
|
$state = 'start';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue