lib/rouge/lexers/common_lisp.rb in rouge-1.9.1 vs lib/rouge/lexers/common_lisp.rb in rouge-1.10.0
- old
+ new
@@ -4,11 +4,11 @@
module Lexers
class CommonLisp < RegexLexer
title "Common Lisp"
desc "The Common Lisp variant of Lisp (common-lisp.net)"
tag 'common_lisp'
- aliases 'cl', 'common-lisp'
+ aliases 'cl', 'common-lisp', 'elisp', 'emacs-lisp'
filenames '*.cl', '*.lisp', '*.el' # used for Elisp too
mimetypes 'text/x-common-lisp'
# 638 functions
@@ -268,10 +268,10 @@
push :root
end
# arrays and structures
rule /(#(?:\d+a|s))(\()/i do
- groups Literal::Other, Punctuation
+ groups Str::Other, Punctuation
push :root
end
# path
rule /#p?"(\\.|[^"])*"/i, Str::Symbol