aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/pipe_command_handler.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-10 13:44:44 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-10 16:18:14 +0000
commit42f4775a160a10107f513aa271d1f199c86ce239 (patch)
treef182fc115c20acb39a6d55c0186095b7a475b6be /paludis/repositories/e/pipe_command_handler.cc
parent69b9f6756b9e7817e14eb9c3c0fe22322f8f462a (diff)
downloadpaludis-42f4775a160a10107f513aa271d1f199c86ce239.tar.gz
paludis-42f4775a160a10107f513aa271d1f199c86ce239.tar.xz
Don't print special annotations
Diffstat (limited to 'paludis/repositories/e/pipe_command_handler.cc')
-rw-r--r--paludis/repositories/e/pipe_command_handler.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/paludis/repositories/e/pipe_command_handler.cc b/paludis/repositories/e/pipe_command_handler.cc
index 51940de04..a8e86d69c 100644
--- a/paludis/repositories/e/pipe_command_handler.cc
+++ b/paludis/repositories/e/pipe_command_handler.cc
@@ -123,6 +123,20 @@ namespace
for (auto m(p.maybe_annotations()->begin()), m_end(p.maybe_annotations()->end()) ;
m != m_end ; ++m)
{
+ switch (m->kind())
+ {
+ case dsak_literal:
+ case dsak_expandable:
+ break;
+
+ case dsak_synthetic:
+ case dsak_expanded:
+ continue;
+
+ case last_dsak:
+ throw InternalError(PALUDIS_HERE, "bad kind");
+ }
+
if (! done_brackets)
{
str << " [[ ";