lib/rouge/lexers/sml.rb in rouge_ecl-0.0.1 vs lib/rouge/lexers/sml.rb in rouge_ecl-1.0.0
- old
+ new
@@ -26,9 +26,13 @@
end
id = /[\w']+/i
symbol = %r([!%&$#/:<=>?@\\~`^|*+-]+)
+ def self.analyze_text(text)
+ return 0
+ end
+
state :whitespace do
rule /\s+/m, Text
rule /[(][*]/, Comment, :comment
end