diff options
author | 2009-10-11 18:11:49 +0100 | |
---|---|---|
committer | 2009-10-11 18:11:49 +0100 | |
commit | bac6492f0cf24bf223ae65b6dbe99339fd85a52a (patch) | |
tree | 141de22f7e425ba7da55728e3bac3717efc9ebba | |
parent | 58790fa740d84ec36f2cd14073b2d7ffa472a706 (diff) | |
download | paludis-bac6492f0cf24bf223ae65b6dbe99339fd85a52a.tar.gz paludis-bac6492f0cf24bf223ae65b6dbe99339fd85a52a.tar.xz |
Context for label warnings
-rw-r--r-- | paludis/repositories/e/dep_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc index 6d06a3b..e5754c5 100644 --- a/paludis/repositories/e/dep_parser.cc +++ b/paludis/repositories/e/dep_parser.cc @@ -687,7 +687,7 @@ paludis::erepository::parse_dependency_label(const std::string & s, const EAPI & { if (std::string::npos != it->find(',')) { - Log::get_instance()->message("e.dep_parser.obsolete_label_syntax", ll_warning, lc_no_context) + Log::get_instance()->message("e.dep_parser.obsolete_label_syntax", ll_warning, lc_context) << "Label '" << *it << "' uses commas, which are obsolete, so treating it as a build label instead"; l->add_label(make_shared_ptr(new DependenciesBuildLabel(*it, return_literal_function(true)))); continue; @@ -717,7 +717,7 @@ paludis::erepository::parse_dependency_label(const std::string & s, const EAPI & l->add_label(make_shared_ptr(new DependenciesTestLabel(*it, return_literal_function(true)))); else if (c == "WarnAndIgnore") { - Log::get_instance()->message("e.dep_parser.obsolete_label", ll_warning, lc_no_context) + Log::get_instance()->message("e.dep_parser.obsolete_label", ll_warning, lc_context) << "Label '" << *it << "' no longer exists, pretending it's a build label instead"; l->add_label(make_shared_ptr(new DependenciesBuildLabel(*it, return_literal_function(true)))); } |