api updates
parent
6ceb1eb8cc
commit
ad08f62619
9
main.cc
9
main.cc
|
@ -397,20 +397,19 @@ struct ObState: CsState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
|
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
|
||||||
StackedValue targetv, sourcev, sourcesv;
|
StackedValue targetv(*this), sourcev(*this), sourcesv(*this);
|
||||||
CsState &cs = *this;
|
|
||||||
|
|
||||||
if (!targetv.alias(cs, "target")) {
|
if (!targetv.set_id("target")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
targetv.set_cstr(tname);
|
targetv.set_cstr(tname);
|
||||||
targetv.push();
|
targetv.push();
|
||||||
|
|
||||||
if (!subdeps.empty()) {
|
if (!subdeps.empty()) {
|
||||||
if (!sourcev.alias(cs, "source")) {
|
if (!sourcev.set_id("source")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (!sourcesv.alias(cs, "sources")) {
|
if (!sourcesv.set_id("sources")) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue