]> git.eshelyaron.com Git - emacs.git/commitdiff
Support MSW filename style for ant compilation error regexp
authorVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 4 Oct 2015 05:57:28 +0000 (07:57 +0200)
committerVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 4 Oct 2015 05:57:28 +0000 (07:57 +0200)
* etc/compilation.txt (symbol ant):
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style

etc/compilation.txt
lisp/progmodes/compile.el

index f134f53d00cf556fa62c16284041796134a4a62c..8f4986a32d7deb5e5fa3f4c0d144906245d722e4 100644 (file)
@@ -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
 
index 9cb367aa6336b3eb236ccbb4ce6e9d8bead4d2a9..9e2d625a4d4b434ba0ef499af91210521f204f7d 100644 (file)
@@ -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