From b8159a954459e33dead5a41d93e70816139567cf Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Thu, 30 Mar 2017 16:17:05 +0200 Subject: [PATCH] fix export macro matching --- scripts/sipify.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sipify.pl b/scripts/sipify.pl index ce38dcf7a897..677bd7c1455e 100755 --- a/scripts/sipify.pl +++ b/scripts/sipify.pl @@ -174,7 +174,7 @@ # class declaration started if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){ do {no warnings 'uninitialized'; - $line =~ m/\bCORE_EXPORT\b/ or die 'Class shoud be exported with appropriate [LIB]_EXPORT macro.'; + $line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class $headerfile shoud be exported with appropriate [LIB]_EXPORT macro."; }; $line = "$1$3"; # Inheritance