Summary: | Single line comment on the last line of a file produces a syntax error | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Matt <matt_boyd> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 RC1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Matt
2003-02-11 18:17:58 EST
The JLS explicitely states this behavior. 1.4 compilers are correctly reporting a line comment not ending with a line separator. Either change the compiler compliance back to 1.3, or add a line separator at the end of the comment. We now tolerate unterminated line comments since the spec just changed (see bug 32476). |