lib/rouge/lexers/fsharp.rb in rouge-3.0.0 vs lib/rouge/lexers/fsharp.rb in rouge-3.1.0

- old
+ new

@@ -39,10 +39,10 @@ def self.primitives @primitives ||= Set.new %w(unit int float bool string char list array) end operator = %r([\[\];,{}_()!$%&*+./:<=>?@^|~#-]+) - id = /[a-z][\w']*/i + id = /([a-z][\w']*)|(``[^`\n\r\t]+``)/i upper_id = /[A-Z][\w']*/ state :root do rule /\s+/m, Text rule /false|true|[(][)]|\[\]/, Name::Builtin::Pseudo