diff options
| author | Stefan Monnier | 2012-05-21 00:28:41 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-05-21 00:28:41 -0400 |
| commit | 5814f126ba1b8457c963e91c48a5bfa8108d55ac (patch) | |
| tree | 7f66b3a794c029056de5479d9c9415f58ed6cfb7 | |
| parent | 9b4ee6166fd8da5f8006a265f775d84e60c15be7 (diff) | |
| download | emacs-5814f126ba1b8457c963e91c48a5bfa8108d55ac.tar.gz emacs-5814f126ba1b8457c963e91c48a5bfa8108d55ac.zip | |
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Simplify Maven regexp, and make sure the file can't start with a space.
Fixes: debbugs:11517
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 | ||||
| -rw-r--r-- | test/automated/compile-tests.el | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 78f0e386327..f3c2426620e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | ||
| 4 | Simplify Maven regexp, and make sure the file can't start with a space | ||
| 5 | (bug#11517). | ||
| 6 | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | 7 | 2012-05-21 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): | 9 | * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index fe1b63f3048..45986591499 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -209,7 +209,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 209 | ;; due to matching filenames via \\(.*?\\). This might be faster. | 209 | ;; due to matching filenames via \\(.*?\\). This might be faster. |
| 210 | (maven | 210 | (maven |
| 211 | ;; Maven is a popular free software build tool for Java. | 211 | ;; Maven is a popular free software build tool for Java. |
| 212 | "\\([0-9]*[^0-9\n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) | 212 | "\\([^ \n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\] " 1 2 3) |
| 213 | 213 | ||
| 214 | (jikes-line | 214 | (jikes-line |
| 215 | "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" | 215 | "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" |
diff --git a/test/automated/compile-tests.el b/test/automated/compile-tests.el index ad36c4296b4..ecd0e8856f7 100644 --- a/test/automated/compile-tests.el +++ b/test/automated/compile-tests.el | |||
| @@ -199,6 +199,8 @@ | |||
| 199 | ;; maven | 199 | ;; maven |
| 200 | ("FooBar.java:[111,53] no interface expected here" | 200 | ("FooBar.java:[111,53] no interface expected here" |
| 201 | 1 53 111 "FooBar.java") | 201 | 1 53 111 "FooBar.java") |
| 202 | (" [ERROR] /Users/cinsk/hello.java:[651,96] ';' expected" | ||
| 203 | 15 96 651 "/Users/cinsk/hello.java") ;Bug#11517. | ||
| 202 | ;; mips-1 mips-2 | 204 | ;; mips-1 mips-2 |
| 203 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" | 205 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" |
| 204 | 11 nil 255 "solomon.c") | 206 | 11 nil 255 "solomon.c") |