Loading executor.cpp +1 −1 Changes for executor.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ int Executor::build_sequential(const std::string& target_in) { const Rule* rule = find_rule(target, stem); if (std::getenv("MP_DBG") && (target == "." || target == "built-in.a")) { std::cerr << "[DBG] target=[" << target << "] rule=" << (rule?"Y":"N") std::cerr << "[DBG pid=" << getpid() << "] target=[" << target << "] rule=" << (rule?"Y":"N") << " recipes=" << (rule?rule->recipes.size():0) << " phony=" << mf_.phony_targets.count(target) << std::endl; int idx = 0; Loading parser.cpp +3 −0 Changes for parser.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ #include <cstdio> #include <cstring> #include <cctype> #include <unistd.h> namespace fs = std::filesystem; using namespace makeplus; Loading Loading @@ -242,6 +243,8 @@ bool Parser::handle_conditional(const std::string& line_in, Makefile& mf) { } bool cond = eval_if_directive(line, mf); cond_stack_.push_back({cond, cond}); if (std::getenv("MP_DBG") && line.find("need-sub-make),1") != std::string::npos) std::cerr << "[CD pid=" << getpid() << "] if [" << line.substr(0, 50) << "] cond=" << cond << " -> depth=" << cond_stack_.size() << "\n"; return true; } Loading Loading
executor.cpp +1 −1 Changes for executor.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ int Executor::build_sequential(const std::string& target_in) { const Rule* rule = find_rule(target, stem); if (std::getenv("MP_DBG") && (target == "." || target == "built-in.a")) { std::cerr << "[DBG] target=[" << target << "] rule=" << (rule?"Y":"N") std::cerr << "[DBG pid=" << getpid() << "] target=[" << target << "] rule=" << (rule?"Y":"N") << " recipes=" << (rule?rule->recipes.size():0) << " phony=" << mf_.phony_targets.count(target) << std::endl; int idx = 0; Loading
parser.cpp +3 −0 Changes for parser.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ #include <cstdio> #include <cstring> #include <cctype> #include <unistd.h> namespace fs = std::filesystem; using namespace makeplus; Loading Loading @@ -242,6 +243,8 @@ bool Parser::handle_conditional(const std::string& line_in, Makefile& mf) { } bool cond = eval_if_directive(line, mf); cond_stack_.push_back({cond, cond}); if (std::getenv("MP_DBG") && line.find("need-sub-make),1") != std::string::npos) std::cerr << "[CD pid=" << getpid() << "] if [" << line.substr(0, 50) << "] cond=" << cond << " -> depth=" << cond_stack_.size() << "\n"; return true; } Loading