Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49244 - trunk/libs/mpl/preprocessed
From: agurtovoy_at_[hidden]
Date: 2008-10-10 06:11:23


Author: agurtovoy
Date: 2008-10-10 06:11:23 EDT (Fri, 10 Oct 2008)
New Revision: 49244
URL: http://svn.boost.org/trac/boost/changeset/49244

Log:
Fix preprocessed headers generation
Text files modified:
   trunk/libs/mpl/preprocessed/pp.py | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/mpl/preprocessed/pp.py
==============================================================================
--- trunk/libs/mpl/preprocessed/pp.py (original)
+++ trunk/libs/mpl/preprocessed/pp.py 2008-10-10 06:11:23 EDT (Fri, 10 Oct 2008)
@@ -146,7 +146,7 @@
         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 @@
                 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) )
                     )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk