Repository navigation
Conversation
The wording in the manpage, if you read the Variable Substitution section, implies that the Special Variables like $CHANGED_TARGETS ought to support the Special Attributes described in the following subsections: "A variable name may have the following modifiers appended within the enclosing curly braces to acces properties...". A possible answer is to say that variables that sound like they're lists don't work. This change takes the other approach: make those six respond to special attribute lookup in a consistent way. Fixes SCons#2554 Signed-off-by: Mats Wichmann <mats@linux.com>
Add more description - the entries in the construction variable section said effectively nothing. The Special Varaiables and Special Attributes sections were further updated. Signed-off-by: Mats Wichmann <mats@linux.com>
mwichmann
force-pushed
the
fix/special-var-attrs
branch
from
November 8, 2026 19:02
62dd738 to
6b1b0b9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The wording in the manpage, if you read the Variable Substitution section, implies that the Special Variables like
$CHANGED_TARGETSought to support the Special Attributes described in the next subsection: "A variable name may have the following modifiers appended within the enclosing curly braces to access properties...". A possible answer is to say that variables that sound like they're lists don't work. This change takes the other approach: make those six respond to special attribute lookup in a consistent way.Fixes #2554
Note: includes the regenerated
variables.modbecause the absence of the new varibleMSVC_PREVIEWfrom earlier was causing headaches in some situations (of course easy to fix with regen but sometimes you want to validate docs against a clean tree.Contributor Checklist:
CHANGES.txtandRELEASE.txt(and read theREADME.rst).