test1167: catch more #defines with withspaces

This commit is contained in:
Viktor Szakats 2025-02-26 12:13:43 +01:00
parent dbbbf717f3
commit 360436eca6
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -124,7 +124,7 @@ sub scanheader {
open H, "<$f";
while(<H>) {
my ($line, $linenum) = ($_, $.);
if (/^#define +([^ \n]*)/) {
if (/^ *# *define +([^ \n]*)/) {
if($verbose) {
print "Source: $f\n";
print "Symbol: $1\n";