lib/rouge/lexers/idlang.rb in rouge-3.5.1 vs lib/rouge/lexers/idlang.rb in rouge-3.6.0
- old
+ new
@@ -241,10 +241,10 @@
rule %r/(#{kind_param}_)?'/, Str::Single, :string_single
rule %r/(#{kind_param}_)?"/, Str::Double, :string_double
rule %r{\#\#|\#|\&\&|\|\||/=|<=|>=|->|\@|\?|[-+*/<=~^{}]}, Operator
# Structures and the like
- rule %r/(#{name})(\.)([^\s,]*)/i do |m|
+ rule %r/(#{name})(\.)([^\s,]*)/i do
groups Name, Operator, Name
#delegate IDLang, m[3]
end
rule %r/(function|pro)((?:\s|\$\s)+)/i do