cleanup
parent
167d216226
commit
4618694303
9
main.cc
9
main.cc
|
@ -334,14 +334,11 @@ struct ObState: CsState {
|
|||
});
|
||||
Bytecode *func = nullptr;
|
||||
bool act = false;
|
||||
for (auto &sr: rlist.iter()) {
|
||||
Rule &r = *sr.rule;
|
||||
if (r.func) {
|
||||
func = &r.func;
|
||||
act = r.action;
|
||||
for (auto &sr: rlist.iter()) if (sr.rule->func) {
|
||||
func = &sr.rule->func;
|
||||
act = sr.rule->action;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
|
||||
StackedValue targetv, sourcev, sourcesv;
|
||||
CsState &cs = *this;
|
||||
|
|
Loading…
Reference in New Issue