Add the change from HEAD that allows us to parse multi-line comments.
authorRichard Levitte <levitte@openssl.org>
Thu, 10 Apr 2003 20:07:51 +0000 (20:07 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 10 Apr 2003 20:07:51 +0000 (20:07 +0000)
util/mkdef.pl

index d7b5e6f18b888182f7ba566a18fc1c2be8f2c592..bb27e8f4d26f375c5c4bbb138bb3d926ba948b11 100755 (executable)
@@ -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);