Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-preprocessing-generator: fix missing relevant features #326

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/tools/generators/c-preprocessing-generator.jam
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class C-preprocessing-generator : generator
{
return ;
}
# generator.construct-result adds relevant features for self.rule-name
# which is not the action rule that would be used...
local relevant = [ $(preprocessor[1]).get <relevant> ] ;
property-set = [ $(property-set).add-raw <relevant>$(relevant) ] ;
# Clone preprocessor action with our source and target
local preproc-action = [ $(preprocessor[2]).action ] ;
local action-class = [ modules.peek $(preproc-action) : __class__ ] ;
Expand Down