Parse extra comma/semicolon at the end of cell array
This commit is contained in:
parent
d359527cf8
commit
b033cb6f7d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user