Skip to content

Commit

Permalink
Add missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrmont authored and supersven committed Apr 7, 2020
1 parent e5974e2 commit 9e88960
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rouge/lexers/ghc_cmm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class GHCCmm < RegexLexer
title "GHC Cmm (C--)"
desc "GHC Cmm is the intermediate representation of the GHC Haskell compiler"
tag 'ghc-cmm'
aliases 'cmm'
filenames '*.cmm', '*.dump-cmm', '*.dump-cmm-*'

macros = %r(#(?:define|include|endif|else|if))
Expand All @@ -33,6 +34,7 @@ class GHCCmm < RegexLexer

# sections markers
rule %r/^=====.*=====$/, Generic::Heading

# timestamps
rule %r/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ UTC$/, Comment::Single

Expand Down Expand Up @@ -158,6 +160,7 @@ class GHCCmm < RegexLexer
rule %r/[\[\].{}:;,()]/, Punctuation

end

state :keywords do
rule %r/const/, Keyword::Constant
rule %r/"/, Literal::String::Double
Expand Down

0 comments on commit 9e88960

Please sign in to comment.