diff options
author | Steven Knight <knight@baldmt.com> | 2003-12-08 12:23:44 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-12-08 12:23:44 (GMT) |
commit | 62405828e80767a721d22ee39e900cd164cdb7a5 (patch) | |
tree | c8cc2c97c5c9e073c047b38aed865afb73401650 /src | |
parent | f1ccb4d7a026f658c80a058827bda351394a01bc (diff) | |
download | SCons-62405828e80767a721d22ee39e900cd164cdb7a5.zip SCons-62405828e80767a721d22ee39e900cd164cdb7a5.tar.gz SCons-62405828e80767a721d22ee39e900cd164cdb7a5.tar.bz2 |
Fix spelling errors in error messages, man page typos.
Diffstat (limited to 'src')
-rw-r--r-- | src/CHANGES.txt | 5 | ||||
-rw-r--r-- | src/engine/SCons/Script/SConscript.py | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 391d11b..52dbafc 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -84,6 +84,11 @@ RELEASE 0.95 - XXX - Allow the LIBS construction variable to be a single string or File node, not a list, when only one library is needed. + - Fix typos in the man page: JAVACHDIR => JARCHDIR; add "for_signature" + to the __call__() example in the "Variable Substitution" section. + + - Correct error message spellings of "non-existant" to "non-existent." + From Vincent Risi: - Add support for the bcc32, ilink32 and tlib Borland tools. diff --git a/src/engine/SCons/Script/SConscript.py b/src/engine/SCons/Script/SConscript.py index bd122d8..0c9b22f 100644 --- a/src/engine/SCons/Script/SConscript.py +++ b/src/engine/SCons/Script/SConscript.py @@ -124,7 +124,7 @@ def compute_exports(exports): except KeyError: retval[export] = glob[export] except KeyError, x: - raise SCons.Errors.UserError, "Export of non-existant variable '%s'"%x + raise SCons.Errors.UserError, "Export of non-existent variable '%s'"%x return retval @@ -154,7 +154,7 @@ def Return(*vars): for v in string.split(var): retval.append(stack[-1].globals[v]) except KeyError, x: - raise SCons.Errors.UserError, "Return of non-existant variable '%s'"%x + raise SCons.Errors.UserError, "Return of non-existent variable '%s'"%x if len(retval) == 1: stack[-1].retval = retval[0] @@ -477,7 +477,7 @@ class SConsEnvironment(SCons.Environment.Base): else: stack[-1].globals[v] = global_exports[v] except KeyError,x: - raise SCons.Errors.UserError, "Import of non-existant variable '%s'"%x + raise SCons.Errors.UserError, "Import of non-existent variable '%s'"%x def SConscript(self, *ls, **kw): ls = map(lambda l, self=self: self.subst(l), ls) |