Skip to content

Commit

Permalink
Fix LT-21967 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmaxwell3 authored Oct 28, 2024
1 parent d54f0a2 commit f45588b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/LexText/ParserCore/HCParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ private void LoadParser()
m_language = HCLoader.Load(m_cache, new XmlHCLoadErrorLogger(writer));
writer.WriteEndElement();
XElement parserParamsElem = XElement.Parse(m_cache.LanguageProject.MorphologicalDataOA.ParserParameters);
XElement delReappsElem = parserParamsElem.Elements("ParserParameters").Elements("HC").Elements("DelReapps").FirstOrDefault();
XElement guessRootsElem = parserParamsElem.Element("HC").Element("GuessRoots");
XElement delReappsElem = parserParamsElem.Elements("HC").Elements("DelReapps").FirstOrDefault();
XElement guessRootsElem = parserParamsElem.Elements("HC").Elements("GuessRoots").FirstOrDefault();
if (delReappsElem != null)
delReapps = (int) delReappsElem;
if (guessRootsElem != null)
Expand Down

0 comments on commit f45588b

Please sign in to comment.