You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix Issue 21347 - Parser never stops looking for ',' on array literal syntax error
When a comma is missing after an element in an array literal or a
subscript argument list, the parser used to keep consuming tokens
past the syntax error all the way to the end of file, producing a
long cascade of spurious errors instead of a small, focused set.
Break out of the parsing loop as soon as a required comma is
missing, after reporting the original error, instead of continuing
to loop until the closing bracket or end of file is reached.
Fixes Bugzilla Issue 21347
0 commit comments