This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Emacs mode: Incorrect syntax highlighting of **/

No replies
Noel Welsh 2
Joined: 2010-12-12,
User offline. Last seen 42 years 45 weeks ago.

Hello,

The Scala emacs mode incorrectly highlights commends ending with **/.
The rest of the buffer (or the text till the next comment) will have
the comment-face. E.g.

/**
* This will break everything
**/
class Foo {
blah
}

I took a look at the code but couldn't work out where the syntax
highlighting for comments was actually performed.

Thanks,
N.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland