diff options
author | Mats Wichmann <mats@linux.com> | 2022-06-30 19:07:01 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2022-06-30 19:07:01 (GMT) |
commit | b16ae6440ad87e47592a2ffb06bd50be3d6a84e5 (patch) | |
tree | 7e5a157440b7b9645bfa5f18be537226871541b4 | |
parent | 3fc497c7775f572a32056a1c6b52ee4592c4bced (diff) | |
download | SCons-b16ae6440ad87e47592a2ffb06bd50be3d6a84e5.zip SCons-b16ae6440ad87e47592a2ffb06bd50be3d6a84e5.tar.gz SCons-b16ae6440ad87e47592a2ffb06bd50be3d6a84e5.tar.bz2 |
Sider fixes
Signed-off-by: Mats Wichmann <mats@linux.com>
-rw-r--r-- | SCons/Tool/lex.py | 2 | ||||
-rw-r--r-- | test/LEX/FLEXFLAGS.py | 3 | ||||
-rw-r--r-- | test/YACC/BISONFLAGS.py | 6 |
3 files changed, 4 insertions, 7 deletions
diff --git a/SCons/Tool/lex.py b/SCons/Tool/lex.py index 262fe25..0cf7de7 100644 --- a/SCons/Tool/lex.py +++ b/SCons/Tool/lex.py @@ -65,7 +65,7 @@ def lexEmitter(target, source, env) -> tuple: # NOTE: a filename passed to the command this way is not modified by SCons, # and so will be interpreted relative to the project top directory at # execution time, while the name added to the target list will be - # interpreted relative to the SConscript directory - a possibile mismatch. + # interpreted relative to the SConscript directory - a possible mismatch. # # These are GNU flex-only options. # TODO: recognize --outfile also? diff --git a/test/LEX/FLEXFLAGS.py b/test/LEX/FLEXFLAGS.py index 248af42..0844030 100644 --- a/test/LEX/FLEXFLAGS.py +++ b/test/LEX/FLEXFLAGS.py @@ -27,14 +27,13 @@ Test that detection of file-writing options in LEXFLAGS works. """ -import sys import sysconfig import TestSCons from TestCmd import IS_WINDOWS _python_ = TestSCons._python_ -_exe = TestSCons._exe +_exe = TestSCons._exe test = TestSCons.TestSCons() diff --git a/test/YACC/BISONFLAGS.py b/test/YACC/BISONFLAGS.py index 3259eaa..f789339 100644 --- a/test/YACC/BISONFLAGS.py +++ b/test/YACC/BISONFLAGS.py @@ -27,13 +27,11 @@ Test that detection of file-writing options in YACCFLAGS works. """ -import sys - import TestSCons from TestCmd import IS_WINDOWS _python_ = TestSCons._python_ -_exe = TestSCons._exe +_exe = TestSCons._exe if IS_WINDOWS: compiler = 'msvc' @@ -53,7 +51,7 @@ DefaultEnvironment(tools=[]) SConscript("sub/SConscript") """) -test.write(['sub', 'SConscript'], f"""\ +test.write(['sub', 'SConscript'], """\ import sys env = Environment( |