lib/rouge/lexers/make.rb in rouge-4.3.0 vs lib/rouge/lexers/make.rb in rouge-4.4.0

- old
+ new

@@ -38,9 +38,13 @@ rule %r/((?:ifn?def|ifn?eq|unexport)\b)([\t ]+)([^#\n]+)/ do groups Keyword, Text, Name::Variable end + rule %r/(else\b)([\t ]+)((?:ifn?def|ifn?eq)\b)([\t ]+)([^#\n]+)/ do + groups Keyword, Text, Keyword, Text, Name::Variable + end + rule %r/(?:else|endif|endef|endfor)[\t ]*(?=[#\n])/, Keyword rule %r/(export)([\t ]+)(?=[\w\${}()\t -]+\n)/ do groups Keyword, Text push :export