Skip to content

Commit

Permalink
Split enum into vanilla enum and enum define
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Mar 11, 2016
1 parent aa46bb8 commit 9327171
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions haskell-c2hs.el
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@
"sizeof")
(+ ws)
cid)
;; this could be extended further
(seq (group-n 2
"enum"
(? (+ ws)
"define"))
(+ ws)
"define")
(+ ws)
cid)
;; TODO: vanilla enum fontification is incomplete
(seq (group-n 2
"enum")
(+ ws)
cid
(opt (+ ws)
Expand Down

0 comments on commit 9327171

Please sign in to comment.