From c8abbc43127f77b2689341c8ca29b92157c9df4c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 30 Apr 2017 20:55:04 +1000 Subject: [PATCH] complete comment marker change --- util/update_copyrights | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/update_copyrights b/util/update_copyrights index ec479025ef..e35b458248 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -372,14 +372,14 @@ foreach $file (keys %file_types) { } elsif ($mkd_comment) { $before_copyright = ""; if (/^ if $_ eq "//; + last if s/.*-->//; $_ = ; } print "$file: unterminated comment\n"