Only consider definitions in t_flag_csplit

This commit is contained in:
Geza Lore 2022-05-20 17:55:34 +01:00
parent c7610ed044
commit 1282548a1c

View File

@ -87,7 +87,7 @@ sub check_cpp {
my $fh = IO::File->new("<$filename") or error("$! $filenme");
my @funcs;
while (defined(my $line = $fh->getline)) {
if ($line =~ /^(void|IData)\s+(.*::.*)/) {
if ($line =~ /^(void|IData)\s+(.*::.*){/) {
my $func = $2;
$func =~ s/\(.*$//;
print "\tFunc $func\n" if $Self->{verbose};