From: Richard Levitte Date: Thu, 10 Apr 2003 20:07:51 +0000 (+0000) Subject: Add the change from HEAD that allows us to parse multi-line comments. X-Git-Tag: OpenSSL_0_9_6j~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d373ca98fd34642173550fce65b84178d299fb77;p=oweals%2Fopenssl.git Add the change from HEAD that allows us to parse multi-line comments. --- diff --git a/util/mkdef.pl b/util/mkdef.pl index d7b5e6f18b..bb27e8f4d2 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -314,6 +314,10 @@ sub do_defs } s/\/\*.*?\*\///gs; # ignore comments + if (/\/\*/) { # if we have part + $line = $_; # of a comment, + next; # continue reading + } s/{[^{}]*}//gs; # ignore {} blocks if (/^\#\s*ifndef (.*)/) { push(@tag,$1);