mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
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:
@@ -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) )
|
||||
)
|
||||
|
Reference in New Issue
Block a user