Lex comments in chunks

Similar to this being added for CDATA tags in
8acc7fc743 comments are now also lexed in
chunks.

Related issue: #93
This commit is contained in:
Yorick Peterse committed 2015-04-14 23:11:22 +02:00
1 parent 8acc7fc743
commit ea8b4aa92f
7 files changed
+129 -18

No files matched your search

+3 -1
View File
@@ -107,7 +107,9 @@ public class Lexer extends RubyObject
String id_on_cdata_start = "on_cdata_start";
String id_on_cdata_body = "on_cdata_body";
String id_on_cdata_end = "on_cdata_end";
String id_on_comment = "on_comment";
String id_on_comment_start = "on_comment_start";
String id_on_comment_body = "on_comment_body";
String id_on_comment_end = "on_comment_end";
String id_on_doctype_end = "on_doctype_end";
String id_on_doctype_inline = "on_doctype_inline";
String id_on_doctype_name = "on_doctype_name";