/* !! must be sorted by first column !! */
static struct stateswitch stateswitches[] = {
{ STATE_START, "applications", STATE_START, 0 },
+ { STATE_START, "components", STATE_START, 0 },
{ STATE_START, "application", STATE_APPLICATION, 0 },
+ { STATE_START, "component", STATE_APPLICATION, 0 },
{ STATE_APPLICATION, "id", STATE_ID, 1 },
{ STATE_APPLICATION, "pkgname", STATE_PKGNAME, 1 },
{ STATE_APPLICATION, "product_license", STATE_LICENCE, 1 },
case STATE_PKGNAME:
id = pool_str2id(pd->pool, pd->content, 1);
s->requires = repo_addid_dep(pd->repo, s->requires, id, 0);
+ break;
case STATE_KEYWORD:
repodata_add_poolstr_array(pd->data, pd->handle, SOLVABLE_KEYWORDS, pd->content);
break;