In mkdef.pl ignore trailing whitespace in #ifdef lines

This commit is contained in:
Dr. Stephen Henson 2005-02-05 17:22:14 +00:00
parent 485e30dbe1
commit 8aa36bcac9

View file

@ -479,7 +479,7 @@ sub do_defs
push(@tag,$1);
$tag{$1}=-1;
}
} elsif (/^\#\s*ifdef\s+(.*)/) {
} elsif (/^\#\s*ifdef\s+(\S*)/) {
push(@tag,"-");
push(@tag,$1);
$tag{$1}=1;