summaryrefslogtreecommitdiff
path: root/SCons/Scanner
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-10-20 09:10:31 -0600
committerMats Wichmann <mats@linux.com>2022-10-20 10:38:47 -0600
commitc0f80cbbeec176f303d3ef1b7ab94582c018fcd8 (patch)
tree3947bb95b4b829e0532fe695d45a3a5d75b41634 /SCons/Scanner
parent984e3f58b9f2c33cc551e2a3d2962c5f6420b3c8 (diff)
downloadscons-git-c0f80cbbeec176f303d3ef1b7ab94582c018fcd8.tar.gz
Add Java scanner to generated API docs
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Scanner')
-rw-r--r--SCons/Scanner/Java.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/SCons/Scanner/Java.py b/SCons/Scanner/Java.py
index f6edf935d..8c31bc144 100644
--- a/SCons/Scanner/Java.py
+++ b/SCons/Scanner/Java.py
@@ -32,12 +32,14 @@ from SCons.Util import flatten, is_String
def _subst_paths(env, paths) -> list:
"""Return a list of substituted path elements.
- If *paths* is a string, it is split on the search-path separator
- (this makes the interpretation system-specific - this is warned about
- in the manpage). This helps support behavior like pulling in the
- external ``CLASSPATH`` and setting it directly into ``JAVACLASSPATH``.
- Otherwise, substitution is done on string-valued list elements
- but not splitting.
+ If *paths* is a string, it is split on the search-path separator.
+ Otherwise, substitution is done on string-valued list elements but
+ they are not split.
+
+ Note helps support behavior like pulling in the external ``CLASSPATH``
+ and setting it directly into ``JAVACLASSPATH``, however splitting on
+ ``os.pathsep`` makes the interpretation system-specific (this is
+ warned about in the manpage entry for ``JAVACLASSPATH``).
"""
if is_String(paths):
paths = env.subst(paths)