Skip to content

Commit 9499ca6

Browse files
committed
rename: only remove the first MSC_VER when omitting inline
1 parent 09048d0 commit 9499ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rename.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ sub translate {
123123

124124
if ($inline) {
125125
$contents =~ s/^INLINE/${inline}/mg;
126-
$contents =~ s/\n#ifdef _MSC_VER\n.*?\n#endif\n//sg;
126+
$contents =~ s/\n#ifdef _MSC_VER\n.*?\n#endif\n//s;
127127
}
128128

129129
if ($tests) {

0 commit comments

Comments
 (0)