diff options
| -rw-r--r-- | lisp/progmodes/flymake-cc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el index e8069f5c17b..524521d7db2 100644 --- a/lisp/progmodes/flymake-cc.el +++ b/lisp/progmodes/flymake-cc.el | |||
| @@ -58,13 +58,13 @@ SOURCE." | |||
| 58 | (cl-loop | 58 | (cl-loop |
| 59 | while | 59 | while |
| 60 | (search-forward-regexp | 60 | (search-forward-regexp |
| 61 | "^\\(In file included from \\)?<stdin>:\\([0-9]+\\):\\([0-9]+\\):\n?\\(.*\\): \\(.*\\)$" | 61 | "^\\(In file included from \\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?:\n?\\(.*\\): \\(.*\\)$" |
| 62 | nil t) | 62 | nil t) |
| 63 | for msg = (match-string 5) | 63 | for msg = (match-string 5) |
| 64 | for (beg . end) = (flymake-diag-region | 64 | for (beg . end) = (flymake-diag-region |
| 65 | source | 65 | source |
| 66 | (string-to-number (match-string 2)) | 66 | (string-to-number (match-string 2)) |
| 67 | (string-to-number (match-string 3))) | 67 | (and (match-string 3) (string-to-number (match-string 3)))) |
| 68 | for type = (if (match-string 1) | 68 | for type = (if (match-string 1) |
| 69 | :error | 69 | :error |
| 70 | (assoc-default | 70 | (assoc-default |