]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Avoid occasional confusion of Flymake C/C++ backend"
authorJoão Távora <joaotavora@gmail.com>
Thu, 28 Mar 2019 17:47:43 +0000 (17:47 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 2 Jul 2019 14:20:16 +0000 (15:20 +0100)
This reverts commit 67c3a3af1d9e2582193d5ea33b6c190e79ad56e6, which
creates more problems than it solves.

lisp/progmodes/flymake-cc.el

index 248c95a256f9b4445a05546c9bcd72e78e921ed9..1b449bd07934eee47c754dfdaaf93180174475d0 100644 (file)
@@ -58,9 +58,7 @@ SOURCE."
   (cl-loop
    while
    (search-forward-regexp
-    (concat
-     "^\\(In file included from \\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)"
-     "?:[\n ]?\\(error\\|warning\\|note\\): \\(.*\\)$")
+    "^\\(In file included from \\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?:\n?\\(.*\\): \\(.*\\)$"
     nil t)
    for msg = (match-string 5)
    for (beg . end) = (flymake-diag-region