diff options
Diffstat (limited to 'contrib/update-copyright.pl')
-rwxr-xr-x | contrib/update-copyright.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl index 74030e810..a270e7362 100755 --- a/contrib/update-copyright.pl +++ b/contrib/update-copyright.pl @@ -103,6 +103,7 @@ sub recurse { last if $line =~ /^ \*\*\s*$/; } } else { + my $line = $_; print "adding\n"; if($file =~ /\.(y|yy|ypp|Y)$/) { print $OUT "%{/******************* -*- C++ -*- */\n"; @@ -119,6 +120,7 @@ sub recurse { print $OUT " **\n"; print $OUT " ** [[ Add file-specific comments here ]]\n"; print $OUT " **/\n\n"; + print $OUT $line; if($file =~ /\.(y|yy|ypp|Y)$/) { while(my $line = <$IN>) { chomp $line; |