changeset 78532:97bfd89475cd

(flymake-err-line-patterns): Fix infloop in javac regexp.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Aug 2007 18:01:29 +0000
parents c2b062cb5942
children 8bf8256b3ffa
files lisp/progmodes/flymake.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/flymake.el	Sun Aug 12 18:00:34 2007 +0000
+++ b/lisp/progmodes/flymake.el	Sun Aug 12 18:01:29 2007 +0000
@@ -927,7 +927,7 @@
      ("\\(.*\\) at \\([^ \n]+\\) line \\([0-9]+\\)[,.\n]" 2 3 nil 1)
      ;; LaTeX warnings (fileless) ("\\(LaTeX \\(Warning\\|Error\\): .*\\) on input line \\([0-9]+\\)" 20 3 nil 1)
      ;; ant/javac
-     (" *\\(\\[javac\\]\\)? *\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)"
+     (" *\\(\\[javac\\] *\\)?\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)"
       2 4 nil 5))
    ;; compilation-error-regexp-alist)
    (flymake-reformat-err-line-patterns-from-compile-el compilation-error-regexp-alist-alist))