Mercurial > emacs
diff lisp/progmodes/compile.el @ 91821:4ab3a4d4cc4e
add php error regex for compile mode
author | Mark A. Hershberger <mah@everybody.org> |
---|---|
date | Wed, 13 Feb 2008 22:26:33 +0000 |
parents | 3db89e7c0f1d |
children | f991f10f15ec |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Wed Feb 13 21:52:41 2008 +0000 +++ b/lisp/progmodes/compile.el Wed Feb 13 22:26:33 2008 +0000 @@ -289,6 +289,10 @@ " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) + (php + "\\(?:Parse\\|Fatal\\) error: \\(.*\\) in \\(.*\\) on line \\([0-9]+\\)" + 2 3 nil nil) + (rxp "^\\(?:Error\\|Warnin\\(g\\)\\):.*\n.* line \\([0-9]+\\) char\ \\([0-9]+\\) of file://\\(.+\\)"