In mkdef.pl ignore trailing whitespace in #ifdef lines
authorDr. Stephen Henson <steve@openssl.org>
Sat, 5 Feb 2005 17:22:14 +0000 (17:22 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 5 Feb 2005 17:22:14 +0000 (17:22 +0000)
util/mkdef.pl

index 204a056..98cd127 100755 (executable)
@@ -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;