diff --git a/Parser/MParser.cs b/Parser/MParser.cs index 98dd394..68c1179 100644 --- a/Parser/MParser.cs +++ b/Parser/MParser.cs @@ -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);