Ensure that only .h files are parsed in generate_errors.pl

This commit is contained in:
Andres Amaya Garcia 2017-10-17 21:23:15 +01:00 committed by Gilles Peskine
parent 4a91c1a0b5
commit 8936ffe66a

View File

@ -46,7 +46,7 @@ close(FORMAT_FILE);
$/ = $line_separator;
my @files = <$include_dir/*>;
my @files = <$include_dir/*.h>;
my @matches;
foreach my $file (@files) {
open(FILE, "$file");