Skip to content

Commit

Permalink
regenerated foliaspec
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 13, 2020
1 parent ddb4e7f commit eaf75b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/specification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ impl Properties {
properties.xlink = false;
properties.textcontainer = false;
properties.phoncontainer = false;
properties.subset = Some("modality");
properties.subset = Some("mod");
properties.auth = true;
properties.primaryelement = true;
properties.auto_generate_id = false;
Expand Down
3 changes: 2 additions & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ impl ElementType {
ElementType::Metric => "metric",
ElementType::ModalitiesLayer => "modalities",
ElementType::Modality => "modality",
ElementType::ModalityFeature => "modality",
ElementType::ModalityFeature => "mod",
ElementType::Morpheme => "morpheme",
ElementType::MorphologyLayer => "morphology",
ElementType::New => "new",
Expand Down Expand Up @@ -675,6 +675,7 @@ impl std::str::FromStr for ElementType {
"metric" => Ok(ElementType::Metric),
"modalities" => Ok(ElementType::ModalitiesLayer),
"modality" => Ok(ElementType::Modality),
"mod" => Ok(ElementType::ModalityFeature),
"morpheme" => Ok(ElementType::Morpheme),
"morphology" => Ok(ElementType::MorphologyLayer),
"new" => Ok(ElementType::New),
Expand Down

0 comments on commit eaf75b4

Please sign in to comment.