From: Vincent Belaïche Date: Sun, 4 Oct 2015 05:57:28 +0000 (+0200) Subject: Support MSW filename style for ant compilation error regexp X-Git-Tag: emacs-25.0.90~1223^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=460c3576761bfeca942ab46660cf8b1346552535;p=emacs.git Support MSW filename style for ant compilation error regexp * etc/compilation.txt (symbol ant): * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style --- diff --git a/etc/compilation.txt b/etc/compilation.txt index f134f53d00c..8f4986a32d7 100644 --- a/etc/compilation.txt +++ b/etc/compilation.txt @@ -52,7 +52,7 @@ jikes are the ending line and ending column. [javac] /src/DataBaseTestCase.java:27: unreported exception ... [javac] /src/DataBaseTestCase.java:49: warning: finally clause cannot complete normally [jikes] foo.java:3:5:7:9: blah blah - + [javadoc] c:\MyProject\Polynomial.java:560: error: unknown tag: math * Bash v2 diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 9cb367aa633..9e2d625a4d4 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -145,7 +145,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) " in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant - "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\):\\)?\ + "^[ \t]*\\[[^] \n]+\\][ \t]*\\(\\(?:[A-Za-z]:\\\\\\)?[^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\):\\)?\ \\( warning\\)?" 1 (2 . 4) (3 . 5) (6)) (bash