diff --git a/src/SIL.Machine.Morphology.HermitCrab/CharacterDefinitionTable.cs b/src/SIL.Machine.Morphology.HermitCrab/CharacterDefinitionTable.cs index d3b2751b..d08d231d 100644 --- a/src/SIL.Machine.Morphology.HermitCrab/CharacterDefinitionTable.cs +++ b/src/SIL.Machine.Morphology.HermitCrab/CharacterDefinitionTable.cs @@ -130,7 +130,8 @@ private bool GetShapeNodes(string str, out IEnumerable nodes, out int break; } } - if (match) continue; + if (match) + continue; // Check for pattern language. // NB: This only happens when the characters don't match. diff --git a/src/SIL.Machine.Morphology.HermitCrab/RootAllomorph.cs b/src/SIL.Machine.Morphology.HermitCrab/RootAllomorph.cs index a63cc047..a3f8f46c 100644 --- a/src/SIL.Machine.Morphology.HermitCrab/RootAllomorph.cs +++ b/src/SIL.Machine.Morphology.HermitCrab/RootAllomorph.cs @@ -32,7 +32,8 @@ public Segments Segments /// /// Does this represent a lexical pattern (e.g. [Seg]*)? /// - public bool IsPattern { + public bool IsPattern + { get { foreach (var node in _segments.Shape.GetNodes(_segments.Shape.Range))