From fcc33e0be4e8f740d6a64ab5eb431b49f7a80aa6 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Wed, 6 Oct 2004 02:17:24 +0000 Subject: [PATCH] Add a name to the default ObjSourceScanner. (Kevin Quick) git-svn-id: http://scons.tigris.org/svn/scons/trunk@1111 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/CHANGES.txt | 3 ++- src/engine/SCons/Defaults.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CHANGES.txt b/src/CHANGES.txt index d538b125..dc9b733b 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -180,7 +180,8 @@ RELEASE 0.97 - XXX - Internal Scanners fixes: Make sure Scanners are only passed Nodes. Fix how a Scanner.Selector called its base class initialization. - Make comparisons of Scanner objects more robust. + Make comparisons of Scanner objects more robust. Add a name to + an internal default ObjSourceScanner. From Christoph Wiedemann: diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py index 381b0ae7..89244558 100644 --- a/src/engine/SCons/Defaults.py +++ b/src/engine/SCons/Defaults.py @@ -95,7 +95,7 @@ def SharedFlagChecker(source, target, env): SharedCheck = SCons.Action.Action(SharedFlagChecker, None) # Scanners and suffixes for common languages. -ObjSourceScan = SCons.Scanner.Scanner({}) +ObjSourceScan = SCons.Scanner.Scanner({}, name='ObjSrcScanner') CScan = SCons.Scanner.C.CScan() -- 2.26.2