| Summary: | Syntax error at EOL not shown | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Michael_Rennie |
| Version: | 6.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
1. Paste this code into a JS file and save: function f() { var x;/ } 2. I expected to see a parse error complaining about the unclosed regex literal, but nothing shows up in the editor. A similar problem happens for this bogus code, which makes me think it has something to do with a syntax error at the end of a line: function f() {` }