summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt2
-rw-r--r--src/engine/SCons/Tool/msvc.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 8e1054a..c9a4ad6 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -23,6 +23,8 @@ RELEASE 0.95 - XXX
- Fix an incorrect _concat() call in the $RCINCFLAGS definition for
the mingw Tool.
+ - Fix a problem with the msvc tool with Python versions prior to 2.3.
+
From David M. Cooke:
- Make the Fortran scanner case-insensitive for the INCLUDE string.
diff --git a/src/engine/SCons/Tool/msvc.py b/src/engine/SCons/Tool/msvc.py
index f7ec5e4..b9ce9bc 100644
--- a/src/engine/SCons/Tool/msvc.py
+++ b/src/engine/SCons/Tool/msvc.py
@@ -133,7 +133,7 @@ def _get_msvc7_path(path, version, platform):
# do weird things with the $(xxx)'s
s = re.compile('\$\(([a-zA-Z0-9_]+?)\)')
- def repl(match):
+ def repl(match, paths=paths):
key = string.upper(match.group(1))
if paths.has_key(key):
return paths[key]