From f0c26b3f47a5916be2add942ec8d4b236d16f578 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sat, 11 Oct 2008 06:35:10 +0000 Subject: [PATCH] Merged revisions 49244 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r49244 | agurtovoy | 2008-10-10 05:11:23 -0500 (Fri, 10 Oct 2008) | 1 line Fix preprocessed headers generation ........ [SVN r49270] --- preprocessed/pp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocessed/pp.py b/preprocessed/pp.py index ee742d7..24bfd27 100644 --- a/preprocessed/pp.py +++ b/preprocessed/pp.py @@ -146,7 +146,7 @@ class pretty: self.copyright = None self.re_header_name_comment = re.compile( - r'^\s*//\s+\$[S]ource: /cvsroot/boost/boost/(.*?%s\.hpp),v\s*\$$' + r'^\s*//\s+\$[I]d:\s+(.*?%s\.hpp)\s+[^$]+[$]$' % os.path.splitext( name )[0] ) @@ -199,7 +199,7 @@ class pretty: match = self.re_header_name_comment.match( line ) self.output.write( \ '\n%s\n' \ - '// Preprocessed version of "%s" header\n' \ + '// *Preprocessed* version of the main "%s" header\n' \ '// -- DO NOT modify by hand!\n\n' \ % ( self.copyright, match.group(1) ) )