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