Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Src/LexText/ParserCore/FwXmlTraceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ private static XElement CreateParseCompleteElement(Word word, XElement reasonEle

private static XElement CreateInflFeaturesElement(string name, FeatureStruct fs)
{
return new XElement(name, fs.Head().ToString().Replace(",", ""));
string feat = (fs.Head() == null) ? "" : fs.Head().ToString().Replace(",", "");
return new XElement(name, feat);
}

private static XElement CreateWordElement(string name, Word word, bool analysis, bool bracketed = false)
Expand Down
Loading