Add the change from HEAD that allows us to parse multi-line comments.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user