accept selections
authorKlaus Kaempf <kkaempf@suse.de>
Fri, 10 Feb 2006 13:16:59 +0000 (13:16 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Fri, 10 Feb 2006 13:16:59 +0000 (13:16 +0000)
testsuite/solver/src/helix/HelixParser.cc

index 2f45ad0f506daa05d0c0892cb4987fe048a187c6..9c93774f1f38d7585024d587bcc86a995f903719 100644 (file)
@@ -56,6 +56,9 @@ string2kind (const std::string & str)
        else if (str == "pattern") {
            kind = ResTraits<Pattern>::kind;
        }
+       else if (str == "selection") {
+           kind = ResTraits<Selection>::kind;
+       }
        else if (str == "script") {
            kind = ResTraits<Script>::kind;
        }
@@ -433,6 +436,7 @@ HelixParser::toplevelStart(const std::string & token, const xmlChar **attrs)
 
     if ((token == "package")
        || (token == "pattern")
+       || (token == "selection")
        || (token == "script")
        || (token == "message")
        || (token == "patch")
@@ -602,6 +606,7 @@ HelixParser::resolvableEnd (const std::string & token)
 
     if ((token == "package")
        || (token == "pattern")
+       || (token == "selection")
        || (token == "script")
        || (token == "message")
        || (token == "patch")