| Summary: | [esprima] Tolerate missing commas in arrays while parsing | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | simon_kaegi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Michael Rennie
Is this in the context of recovery? This sounds pretty unusual otherwise. (In reply to Simon Kaegi from comment #1) > Is this in the context of recovery? This sounds pretty unusual otherwise. Yes this is recovery, and this is not unusual at all. We should be able to tolerate missing punctuation (in certain cases) and still generate an AST. We already have support like this for object properties. This is working now that we use Acorn as our base parser. Closing worksforme. |