projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db625b
)
Add the change from HEAD that allows us to parse multi-line comments.
author
Richard Levitte
<levitte@openssl.org>
Thu, 10 Apr 2003 20:07:51 +0000
(20:07 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 10 Apr 2003 20:07:51 +0000
(20:07 +0000)
util/mkdef.pl
patch
|
blob
|
history
diff --git
a/util/mkdef.pl
b/util/mkdef.pl
index d7b5e6f18b888182f7ba566a18fc1c2be8f2c592..bb27e8f4d26f375c5c4bbb138bb3d926ba948b11 100755
(executable)
--- 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);