]> git.eshelyaron.com Git - emacs.git/commit
Avoid occasional confusion of Flymake C/C++ backend
authorJoão Távora <joaotavora@gmail.com>
Mon, 25 Mar 2019 14:50:20 +0000 (14:50 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 25 Mar 2019 14:56:09 +0000 (14:56 +0000)
commit67c3a3af1d9e2582193d5ea33b6c190e79ad56e6
treef69edeffa6ff73d178f972ecd542527946e51fdb
parent8cac2bf0419274ffe93a4c2704a305e6cd94ff39
Avoid occasional confusion of Flymake C/C++ backend

The regexp would sometimes match non-errors and create a diagnostic
with nil severity, which would have consequences for the Flymake
engine (these should eventually be addressed, too).

* lisp/progmodes/flymake-cc.el (flymake-cc--make-diagnostics):
Tighten regexp.
lisp/progmodes/flymake-cc.el