aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/dep_parser.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-03 16:53:22 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-03 18:32:16 +0100
commite16130d830bf6911e21b6c2d9c1e2d9672d2fcf0 (patch)
tree41344b91725c58ce562270eabd0176294f6c7908 /paludis/repositories/fake/dep_parser.cc
parent6450119094d0c6dbc68162a815d5a5d8e500ce00 (diff)
downloadpaludis-e16130d830bf6911e21b6c2d9c1e2d9672d2fcf0.tar.gz
paludis-e16130d830bf6911e21b6c2d9c1e2d9672d2fcf0.tar.xz
Support Portage-syntax for USE deps.
Diffstat (limited to 'paludis/repositories/fake/dep_parser.cc')
-rw-r--r--paludis/repositories/fake/dep_parser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/fake/dep_parser.cc b/paludis/repositories/fake/dep_parser.cc
index 389b40bcb..3aeb5b077 100644
--- a/paludis/repositories/fake/dep_parser.cc
+++ b/paludis/repositories/fake/dep_parser.cc
@@ -62,7 +62,7 @@ namespace
{
PackageDepSpec p(parse_elike_package_dep_spec(s, ELikePackageDepSpecOptions() + epdso_allow_slot_deps
+ epdso_allow_slot_star_deps + epdso_allow_slot_equal_deps + epdso_allow_repository_deps
- + epdso_allow_square_bracket_deps + epdso_allow_tilde_greater_deps
+ + epdso_allow_use_deps + epdso_allow_ranged_deps + epdso_allow_tilde_greater_deps
+ epdso_strict_parsing, id));
(*h.begin())[k::add_handler()](make_shared_ptr(new TreeLeaf<T_, PackageDepSpec>(make_shared_ptr(new PackageDepSpec(p)))));
}
@@ -77,7 +77,7 @@ namespace
make_shared_ptr(new PackageDepSpec(parse_elike_package_dep_spec(s.substr(1),
ELikePackageDepSpecOptions() + epdso_allow_slot_deps
+ epdso_allow_slot_star_deps + epdso_allow_slot_equal_deps + epdso_allow_repository_deps
- + epdso_allow_square_bracket_deps + epdso_allow_tilde_greater_deps
+ + epdso_allow_use_deps + epdso_allow_ranged_deps + epdso_allow_tilde_greater_deps
+ epdso_strict_parsing, id)))));
(*h.begin())[k::add_handler()](make_shared_ptr(new TreeLeaf<T_, BlockDepSpec>(b)));
}