Add the change from HEAD that allows us to parse multi-line comments.

This commit is contained in:
Richard Levitte 2003-04-10 20:07:51 +00:00
parent 1db625bcfd
commit d373ca98fd

View file

@ -314,6 +314,10 @@ sub do_defs
} }
s/\/\*.*?\*\///gs; # ignore comments s/\/\*.*?\*\///gs; # ignore comments
if (/\/\*/) { # if we have part
$line = $_; # of a comment,
next; # continue reading
}
s/{[^{}]*}//gs; # ignore {} blocks s/{[^{}]*}//gs; # ignore {} blocks
if (/^\#\s*ifndef (.*)/) { if (/^\#\s*ifndef (.*)/) {
push(@tag,$1); push(@tag,$1);