lib/rouge/lexers/common_lisp.rb in rouge-1.1.0 vs lib/rouge/lexers/common_lisp.rb in rouge-1.2.0
- old
+ new
@@ -262,18 +262,16 @@
# hex rational
rule /#x[+-]?[0-9a-f]+(\/[0-9a-f]+)?/i, Num
# complex
rule /(#c)(\()/i do
- group Num
- group Punctuation
+ groups Num, Punctuation
push :root
end
# arrays and structures
rule /(#(?:\d+a|s))(\()/i do
- group Literal::Other
- group Punctuation
+ groups Literal::Other, Punctuation
push :root
end
# path
rule /#p?"(\\.|[^"])*"/i