aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-12 12:15:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-12 12:15:26 +0000
commit2972c11c9247f6d31a83b20a7b746099a0f01e09 (patch)
tree6c1dc1b23ae550937fe378c940dc1e782011a332
parent5fa0fa76cb32228ddd1852a0c3bb212fbd7764fb (diff)
downloadpaludis-2972c11c9247f6d31a83b20a7b746099a0f01e09.tar.gz
paludis-2972c11c9247f6d31a83b20a7b746099a0f01e09.tar.xz
...but make the error message say we're in || ( )
-rw-r--r--paludis/dep_list/dep_list.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/dep_list/dep_list.cc b/paludis/dep_list/dep_list.cc
index 309091f..cda0f03 100644
--- a/paludis/dep_list/dep_list.cc
+++ b/paludis/dep_list/dep_list.cc
@@ -615,7 +615,10 @@ DepList::AddVisitor::visit(const AnyDepAtom * const a)
Log::get_instance()->message(ll_debug, lc_context, "No resolvable item in || ( ) block. Using "
"first item for error message");
- d->add(*viable_children.begin());
+ {
+ Context block_context("Inside || ( ) block with other options:");
+ d->add(*viable_children.begin());
+ }
}
void