diff --git a/lib/rouge/lexers/csvs.rb b/lib/rouge/lexers/csvs.rb index 2c7af788f8..e4294453ea 100644 --- a/lib/rouge/lexers/csvs.rb +++ b/lib/rouge/lexers/csvs.rb @@ -11,33 +11,33 @@ class CSVS < RegexLexer state :root do rule %r/\s+/m, Text - rule %r(//.*), Comment::Single - rule %r(#.*), Comment::Single - rule %r(/(\\\n)?[*].*?[*](\\\n)?/)m, Comment::Multiline - rule %r(/[+]), Comment::Multiline, :nested_comment - rule %r/"[^"]*"/, Str::Double - rule %r/'[^\r\n\f']'/, Str::Char - - rule %r(:?:=), Keyword - rule %r/[()]/, Punctuation + rule %r(//[\S\t ]*), Comment::Single + rule %r(/\*[^*]*\*/)m, Comment::Multiline - rule %r([-=;,*+>