Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a7b457b

Browse files
authoredAug 26, 2016
Fix inferior-haskell warning font lock for GHC 8.0
GHC 8.0 uses an error message of the form ``` /home/alanz/mysrc/github/alanz/ghc-exactprint/tests/Test.hs:99:3: warning: [-Wunused-matches] Defined but not used: ‘prettyRoundTripTests’ ``` The word "warning" no longer has an initial capital letter.
1 parent 7ef94dd commit a7b457b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎inf-haskell.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The command can include arguments."
8181
;; The format of error messages used by Hugs.
8282
`(("^ERROR \"\\(.+?\\)\"\\(:\\| line \\)\\([0-9]+\\) - " 1 3)
8383
;; Format of error messages used by GHCi.
84-
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\(Warning\\)?"
84+
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\(.arning\\)?"
8585
1 2 4 ,@(if (fboundp 'compilation-fake-loc)
8686
'((6) nil (5 '(face nil font-lock-multiline t)))))
8787
;; Runtime exceptions, from ghci.

0 commit comments

Comments
 (0)
Please sign in to comment.