From 16f0a64fc04aa50e829abf7da63a9f3c2666bf28 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Mon, 16 Sep 2024 08:43:26 -0700 Subject: [PATCH] Fix formatting --- .../CharacterDefinitionTable.cs | 3 ++- src/SIL.Machine.Morphology.HermitCrab/RootAllomorph.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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))