Browse files

Added support for CDATA literals

  • Loading branch information...
1 parent aa62c69 commit 945d21a6c27e0031ae9d957fad5f06e03a155c6a @djspiewak committed May 4, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 scala.xml
View
10 scala.xml
@@ -51,6 +51,11 @@
<BEGIN>&lt;!--</BEGIN>
<END>--&gt;</END>
</SPAN>
+
+ <SPAN MATCH_TYPE="LITERAL3" TYPE="COMMENT4">
+ <BEGIN>&lt;![CDATA[</BEGIN>
+ <END>]]&gt;</END>
+ </SPAN>
<SEQ_REGEXP HASH_CHAR="&lt;" TYPE="LITERAL3">&lt;([^/&gt;]+)/&gt;</SEQ_REGEXP>
@@ -344,6 +349,11 @@
<BEGIN>{</BEGIN>
<END>}</END>
</SPAN>
+
+ <SPAN MATCH_TYPE="LITERAL3" TYPE="COMMENT4">
+ <BEGIN>&lt;![CDATA[</BEGIN>
+ <END>]]&gt;</END>
+ </SPAN>
<SPAN TYPE="LABEL" NO_WORD_BREAK="TRUE">
<BEGIN>&amp;</BEGIN>

0 comments on commit 945d21a

Please sign in to comment.