Merge pull request #207 from Kiripon/windowsFilePathHandling

fix filepath handling in windows
This commit is contained in:
Kazu Yamamoto 2014-04-07 09:18:51 +09:00
commit c356bb7fc5

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))