fix(emacs/lean-flycheck): fix error/warning pattern to work on windows

This commit is contained in:
Soonho Kong 2014-09-30 14:14:11 -07:00
parent 3ca1264f61
commit d5e77c05cb

View file

@ -43,12 +43,12 @@
(file-name) ":" line ":" (? column ":") " error: "
(minimal-match
(message (one-or-more (one-or-more not-newline) (? "\r") "\n")))
"FLYCHECK_END" line-end)
"FLYCHECK_END" (? "\r") line-end)
(warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n"
(file-name) ":" line ":" (? column ":") " warning "
(minimal-match
(message (one-or-more (one-or-more not-newline) (? "\r") "\n")))
"FLYCHECK_END" line-end))
"FLYCHECK_END" (? "\r") line-end))
:modes (lean-mode)))
(add-to-list 'flycheck-checkers 'lean-checker))