diff --git a/haskell-compile.el b/haskell-compile.el index 5d8c7b49f..43b61414c 100644 --- a/haskell-compile.el +++ b/haskell-compile.el @@ -64,7 +64,7 @@ The `%s' placeholder is replaced by the current buffer's filename." (defconst haskell-compilation-error-regexp-alist `((,(concat - "^ *\\(?1:[^ \t\r\n]+?\\):" + "^ *\\(?1:[^\t\r\n]+?\\):" "\\(?:" "\\(?2:[0-9]+\\):\\(?4:[0-9]+\\)\\(?:-\\(?5:[0-9]+\\)\\)?" ;; "121:1" & "12:3-5" "\\|" diff --git a/haskell-load.el b/haskell-load.el index 92e3f645e..ec643935b 100644 --- a/haskell-load.el +++ b/haskell-load.el @@ -537,7 +537,7 @@ When MODULE-BUFFER is non-NIL, paint error overlays." session error-msg file - (plist-get (haskell-process-parse-error final-msg) :line)) + line) t))))))) (defun haskell-interactive-show-load-message (session type module-name file-name echo th)