lib/rouge/lexers/sql.rb in rouge-1.10.1 vs lib/rouge/lexers/sql.rb in rouge-1.11.0
- old
+ new
@@ -87,10 +87,10 @@
)
end
state :root do
rule /\s+/m, Text
- rule /--.*?\n/, Comment::Single
+ rule /--.*/, Comment::Single
rule %r(/\*), Comment::Multiline, :multiline_comments
rule /\d+/, Num::Integer
rule /'/, Str::Single, :single_string
rule /"/, Name::Variable, :double_string
rule /`/, Name::Variable, :backtick