Add the change from HEAD that allows us to parse multi-line comments.
This commit is contained in:
parent
1db625bcfd
commit
d373ca98fd
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue