diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-05-29 22:22:36 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-29 22:22:36 +0100 |
commit | c85ae797ecb755d3bcfabd44aa268e3e6e2e7c13 (patch) | |
tree | 3eecbca583b909bb5bee4d22e928976f233fcc79 /t/porting | |
parent | af534a0431cd837092de9abe4bff29feeeafebb3 (diff) | |
download | perl-c85ae797ecb755d3bcfabd44aa268e3e6e2e7c13.tar.gz |
Fix the regexp in t/porting/args_assert.t, and add 3 missing macros.
Resolves RT #72800.
Diffstat (limited to 't/porting')
-rw-r--r-- | t/porting/args_assert.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/porting/args_assert.t b/t/porting/args_assert.t index 95c24f440e..df62755b34 100644 --- a/t/porting/args_assert.t +++ b/t/porting/args_assert.t @@ -26,7 +26,7 @@ unless (-d 't' && -f 'MANIFEST') { open my $fh, '<', $proto or die "Can't open $proto: $!"; while (<$fh>) { - $declared{$1}++ if /^#define\s+(PERL_ARGS_ASSERT[A-Za-z_]+)\s+/; + $declared{$1}++ if /^#define\s+(PERL_ARGS_ASSERT[A-Za-z0-9_]+)\s+/; } } @@ -42,7 +42,7 @@ if (!@ARGV) { } while (<>) { - $used{$1}++ if /^\s+(PERL_ARGS_ASSERT_[A-Za-z_]+);$/; + $used{$1}++ if /^\s+(PERL_ARGS_ASSERT_[A-Za-z0-9_]+);$/; } my %unused; |