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]
This commit is contained in:
Aleksey Gurtovoy
2008-10-11 06:35:10 +00:00
parent c49c03ea77
commit f0c26b3f47

View File

@@ -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) )
)