diff --git a/main.cc b/main.cc index 0bda2ab..60c2fa9 100644 --- a/main.cc +++ b/main.cc @@ -344,16 +344,17 @@ struct ObState: CsState { } if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) { StackedValue targetv, sourcev, sourcesv; + CsState &cs = *this; - if (!targetv.alias(*this, "target")) + if (!targetv.alias(cs, "target")) return 1; targetv.set_cstr(tname); targetv.push(); if (!subdeps.empty()) { - if (!sourcev.alias(*this, "source")) + if (!sourcev.alias(cs, "source")) return 1; - if (!sourcesv.alias(*this, "sources")) + if (!sourcesv.alias(cs, "sources")) return 1; sourcev.set_cstr(subdeps[0]);