Parse extra comma/semicolon at the end of cell array

This commit is contained in:
Alexander Luzgarev 2018-04-01 19:38:57 +02:00
parent d359527cf8
commit b033cb6f7d

View File

@ -385,7 +385,11 @@ namespace Parser
} }
} }
nodes.Add(ParseExpression(new ParseOptions {ParsingArrayElements = true})); var expression = ParseExpression(new ParseOptions {ParsingArrayElements = true});
if (expression != null)
{
nodes.Add(expression);
}
} }
return Factory.ArrayElementList(nodes); return Factory.ArrayElementList(nodes);