aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-02-01 00:39:26 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-02-01 00:39:26 +0000
commitc8a50ccb35481f5a2fd5553b68ffcb431c61d80c (patch)
treee515a410dc891c1bc68957aa383e1d31d721ddf6
parent3be6936fd3b39bd8c79af704a433e21f3f696f87 (diff)
downloadpaludis-c8a50ccb35481f5a2fd5553b68ffcb431c61d80c.tar.gz
paludis-c8a50ccb35481f5a2fd5553b68ffcb431c61d80c.tar.xz
Don't require trailing space after a label at the end of a dep string.
-rw-r--r--paludis/repositories/e/dep_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc
index f2f7f30..9d1aea0 100644
--- a/paludis/repositories/e/dep_parser.cc
+++ b/paludis/repositories/e/dep_parser.cc
@@ -645,6 +645,7 @@ namespace
case dps_had_paren:
case dps_had_text_arrow_text:
case dps_had_text_arrow_space:
+ case dps_had_label:
break;
case dps_had_double_bar_space:
@@ -652,7 +653,6 @@ namespace
case dps_had_use_flag:
case dps_had_use_flag_space:
case dps_had_text_arrow:
- case dps_had_label:
throw DepStringParseError(s, "Unexpected end of string");
}