fix filepath handling in windows

This commit is contained in:
kiripon 2014-04-06 09:36:49 +01:00
parent 051dc7c888
commit 52358d084e

View File

@ -66,7 +66,7 @@
(let ((regex "^\\([^\n\0]*\\):\\([0-9]+\\):\\([0-9]+\\): *\\(.+\\)")
info infos)
(while (re-search-forward regex nil t)
(let* ((file (match-string 1))
(let* ((file (expand-file-name (match-string 1)))
(line (string-to-number (match-string 2)))
;; don't take column to make multiple same errors to a single.
(msg (match-string 4))