lib/rouge/lexers/puppet.rb in rouge-1.1.0 vs lib/rouge/lexers/puppet.rb in rouge-1.2.0
- old
+ new
@@ -65,11 +65,10 @@
rule /[=!<>]=/, Operator
rule /[=!]~/, Operator, :regex_allowed
rule %r([<>!+*/-]), Operator
rule /(class|include)(\s*)(#{qualname})/ do
- group Keyword; group Text
- group Name::Class
+ groups Keyword, Text, Name::Class
end
rule /node\b/, Keyword, :regex_allowed
rule /'(\\[\\']|[^'])*'/m, Str::Single