Ticket #6 (closed defect: fixed)
`..-}' does not terminate comment
| Reported by: | vvv | Owned by: | Baughn |
|---|---|---|---|
| Priority: | minor | Component: | other |
| Version: | 1.6.4 | Keywords: | |
| Cc: |
Description
Sequence of '..-}' within a comment breaks syntax highlighting: code that follows will be displayed in font-lock-comment-face. Highlighting works correctly is there is a space between dots and '-}'.
Example:
module Test where {- Dot, dot, space.. -} test1 = undefined {- Just dot, dot..-} test2 = undefined
Compare with c-mode:
/* Dot, dot, space.. */ test1(); /* Just dot, dot..*/ test2();
See also real world example.
Change History
Note: See
TracTickets for help on using
tickets.
