|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75111 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2011-10-25 04:40:10
Author: vladimir_prus
Date: 2011-10-25 04:40:05 EDT (Tue, 25 Oct 2011)
New Revision: 75111
URL: http://svn.boost.org/trac/boost/changeset/75111
Log:
Fix ordered_includes test in Python port.
Text files modified:
trunk/tools/build/v2/tools/builtin.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/tools/builtin.py
==============================================================================
--- trunk/tools/build/v2/tools/builtin.py (original)
+++ trunk/tools/build/v2/tools/builtin.py 2011-10-25 04:40:05 EDT (Tue, 25 Oct 2011)
@@ -348,8 +348,11 @@
class CScanner (scanner.Scanner):
def __init__ (self, includes):
scanner.Scanner.__init__ (self)
-
- self.includes_ = includes
+
+ self.includes_ = []
+
+ for i in includes:
+ self.includes_.extend(i.split("&&"))
def pattern (self):
return r'#[ \t]*include[ ]*(<(.*)>|"(.*)")'
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