Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Apparently, Scala allows nested comment blocks. Who knew?!

  • Loading branch information...
commit c5a53befe004c1d0bd5cc079bac4fa8ffa0d244b 1 parent 63eaf10
@djspiewak authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 scala.xml
View
9 scala.xml
@@ -41,7 +41,7 @@
</SPAN>
<!-- Scala comment (Java style) -->
- <SPAN TYPE="COMMENT1">
+ <SPAN TYPE="COMMENT1" DELEGATE="COMMENT_BLOCK">
<BEGIN>/*</BEGIN>
<END>*/</END>
</SPAN>
@@ -182,6 +182,13 @@
<SEQ TYPE="OPERATOR">@</SEQ>
</RULES>
+
+ <RULES SET="COMMENT_BLOCK" DEFAULT="COMMENT1">
+ <SPAN TYPE="COMMENT1" DELEGATE="COMMENT_BLOCK">
+ <BEGIN>/*</BEGIN>
+ <END>*/</END>
+ </SPAN>
+ </RULES>
<RULES SET="SCALADOC" DEFAULT="COMMENT3" IGNORE_CASE="TRUE">
<!-- so that @link{...} is highlighted -->
Please sign in to comment.
Something went wrong with that request. Please try again.