diff --git a/util/mkdef.pl b/util/mkdef.pl index d84acfa3e..4a11a4ad0 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -315,6 +315,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);