diff --git a/source/errorlist.pl b/source/errorlist.pl index 97fe2b9c13..c669cde144 100755 --- a/source/errorlist.pl +++ b/source/errorlist.pl @@ -169,6 +169,6 @@ sub cpp_files { opendir my $d, $_[0] or die "Error opening directory '$_[0]' ($!)"; my @f = readdir $d; my @files = map "$_[0]/$_", grep /\.(?:cpp|h)$/, @f; - push @files, cpp_files("$_[0]/$_") for grep { /^[a-z]+$/ and -d "$_[0]/$_" } @f; + push @files, cpp_files("$_[0]/$_") for grep { /^[a-z0-9]+$/ and -d "$_[0]/$_" } @f; return @files; }