[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1c785a5 1/2: Update Maven compilation-mode entry to
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master 1c785a5 1/2: Update Maven compilation-mode entry to distinguish warnings |
Date: |
Mon, 18 May 2015 21:04:04 +0000 |
branch: master
commit 1c785a599affc186db1a72b93698bf47630418b9
Author: Paul Pogonyshev <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Update Maven compilation-mode entry to distinguish warnings
* lisp/progmodes/compile.el
(compilation-error-regexp-alist-alist): Update Maven entry to
distinguish warnings (bug#20556).
---
lisp/progmodes/compile.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 9d36e91..a58e393 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -216,7 +216,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
;; due to matching filenames via \\(.*?\\). This might be faster.
(maven
;; Maven is a popular free software build tool for Java.
- "\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^
\n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3)
+ "\\(\\[WARNING\\] *\\)?\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^
\n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 2 3 4 (1))
(jikes-line
"^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\*
\\(?:Error\\|Warnin\\(g\\)\\)\\)"