Skip to content

Commit

Permalink
Don't worry about end of line in comments (#discussion_r310300155)
Browse files Browse the repository at this point in the history
  • Loading branch information
jahierwan committed Aug 19, 2019
1 parent 4228d11 commit 973aa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rouge/lexers/lustre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def self.primitives
state :root do
rule /\s+/m, Text
rule /false|true/, Keyword::Constant
rule %r(\-\-.*?$), Comment::Single
rule %r(\-\-.*), Comment::Single
rule %r(/\*.*?\*/)m, Comment::Multiline
rule %r(\(\*.*?\*\))m, Comment::Multiline
rule id do |m|
Expand Down

0 comments on commit 973aa8b

Please sign in to comment.