fix(emacs/lean-flycheck): should accept error messages with empty lines

This commit is contained in:
Leonardo de Moura 2014-10-29 15:54:36 -07:00
parent 1c9992800f
commit b0a7888346

View file

@ -42,7 +42,7 @@
((error line-start "FLYCHECK_BEGIN ERROR" (? "\r") "\n" ((error line-start "FLYCHECK_BEGIN ERROR" (? "\r") "\n"
(file-name) ":" line ":" (? column ":") " error: " (file-name) ":" line ":" (? column ":") " error: "
(minimal-match (minimal-match
(message (one-or-more (one-or-more not-newline) (? "\r") "\n"))) (message (one-or-more (zero-or-more not-newline) (? "\r") "\n")))
"FLYCHECK_END" (? "\r") line-end) "FLYCHECK_END" (? "\r") line-end)
(warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n" (warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n"
(file-name) ":" line ":" (? column ":") " warning " (file-name) ":" line ":" (? column ":") " warning "