Permalink
Browse files

Make compilation-mode understand "at blah.hs" lines output by GHC

  • Loading branch information...
1 parent 7730fcf commit 319c829c6803b99bb8282b0ef0899ca29a5bb61c @purcell committed Mar 26, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 init-haskell.el
View
@@ -16,4 +16,9 @@
(require-package 'flymake-haskell-multi)
(add-hook 'haskell-mode-hook #'flymake-haskell-multi-load)
+;; Make compilation-mode understand "at blah.hs:11:34-50" lines output by GHC
+(add-to-list
+ 'compilation-error-regexp-alist-alist
+ '(ghc-at-regexp " at \\(.*l?hs\\):\\([0-9]+\\):\\([0-9]+\\)-[0-9]+$" 1 2 3 0 1))
+
(provide 'init-haskell)

0 comments on commit 319c829

Please sign in to comment.