lib/rouge/lexers/fsharp.rb in rouge-3.17.0 vs lib/rouge/lexers/fsharp.rb in rouge-3.18.0
- old
+ new
@@ -111,9 +111,10 @@
rule %r/\s+/m, Text
rule %r/[.]/, Punctuation
rule %r/#{upper_id}(?=\s*[.])/, Name::Namespace
rule upper_id, Name::Class, :pop!
rule id, Name, :pop!
+ rule %r/\[/, Punctuation, :pop!
end
end
end
end