mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Only consider definitions in t_flag_csplit
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user