Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64202 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2010-07-20 11:23:34


Author: vladimir_prus
Date: 2010-07-20 11:23:33 EDT (Tue, 20 Jul 2010)
New Revision: 64202
URL: http://svn.boost.org/trac/boost/changeset/64202

Log:
Fix various bugs
Text files modified:
   trunk/tools/build/v2/build/scanner.py | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/tools/build/v2/build/scanner.py
==============================================================================
--- trunk/tools/build/v2/build/scanner.py (original)
+++ trunk/tools/build/v2/build/scanner.py 2010-07-20 11:23:33 EDT (Tue, 20 Jul 2010)
@@ -31,6 +31,7 @@
 
 import property
 import bjam
+import os
 from b2.exceptions import *
 from b2.manager import get_manager
 
@@ -103,7 +104,7 @@
 # Common scanner class, which can be used when there's only one
 # kind of includes (unlike C, where "" and <> includes have different
 # search paths).
-def CommonScanner(Scanner):
+class CommonScanner(Scanner):
 
     def __init__ (self, includes):
         Scanner.__init__(self)
@@ -114,8 +115,8 @@
         target_path = os.path.normpath(os.path.dirname(binding[0]))
         bjam.call("mark-included", target, matches)
 
- engine.set_target_variable(matches, "SEARCH",
- [target_path] + self.includes_)
+ get_manager().engine().set_target_variable(matches, "SEARCH",
+ [target_path] + self.includes)
         get_manager().scanners().propagate(self, matches)
 
 class ScannerRegistry:


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