lib/rouge/lexers/scheme.rb in rouge-1.1.0 vs lib/rouge/lexers/scheme.rb in rouge-1.2.0
- old
+ new
@@ -77,12 +77,10 @@
Str::Char
rule /#t|#f/, Name::Constant
rule /(?:'|#|`|,@|,|\.)/, Operator
rule /(['#])(\s*)(\()/m do
- group Str::Symbol
- group Text
- group Punctuation
+ groups Str::Symbol, Text, Punctuation
end
rule /\(/, Punctuation, :command
rule /\)/, Punctuation