From d373ca98fd34642173550fce65b84178d299fb77 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 10 Apr 2003 20:07:51 +0000 Subject: [PATCH] Add the change from HEAD that allows us to parse multi-line comments. --- util/mkdef.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/mkdef.pl b/util/mkdef.pl index d7b5e6f18b..bb27e8f4d2 100755 --- 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); -- 2.25.1