summaryrefslogtreecommitdiff
path: root/ACE/bin/zap_svn_id.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/bin/zap_svn_id.pl')
-rwxr-xr-xACE/bin/zap_svn_id.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/bin/zap_svn_id.pl b/ACE/bin/zap_svn_id.pl
index 702a891ed33..ab9bfc60431 100755
--- a/ACE/bin/zap_svn_id.pl
+++ b/ACE/bin/zap_svn_id.pl
@@ -14,6 +14,8 @@ eval '(exit $?0)' && eval 'exec perl -pi -S $0 ${1+"$@"}'
# Taken from perlrun man page.
#undef $/; $s = <>; $s =~ s/ \*\n \* \$Id\$\n \*\n/ \*\n/m; print $s
+# Replace a single doxygen style with two spaces before the Id with one space
+BEGIN{undef $/;} s/ \*\n \* \$Id\$\n \*\n/ \*\n \* \$Id\$\n \*\n/smg;
# Replace a three line doxygen style Id tag with just line *
BEGIN{undef $/;} s/ \*\n \* \$Id\$\n \*\n/ \*\n/smg;
# Replace a three line c-style id tag with an empty line below that with nothing