lib/rouge/lexers/sml.rb in rouge-2.2.1 vs lib/rouge/lexers/sml.rb in rouge-3.0.0
- old
+ new
@@ -26,13 +26,9 @@
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