diff options
| author | Mark A. Hershberger | 2008-02-13 22:26:33 +0000 |
|---|---|---|
| committer | Mark A. Hershberger | 2008-02-13 22:26:33 +0000 |
| commit | fa2a4e7dac3968cbdece78995c2517b8077b60ed (patch) | |
| tree | ae7b55da71834cea535108a7a87d04d53f798107 | |
| parent | 5b5eae56a2a6324fe081bbfd1b3eec9b57492b7a (diff) | |
| download | emacs-fa2a4e7dac3968cbdece78995c2517b8077b60ed.tar.gz emacs-fa2a4e7dac3968cbdece78995c2517b8077b60ed.zip | |
add php error regex for compile mode
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b588094479..e319541d28d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -16,6 +16,10 @@ | |||
| 16 | (flymake-err-line-patterns): Add pattern for PHP errors. | 16 | (flymake-err-line-patterns): Add pattern for PHP errors. |
| 17 | (flymake-php-init): New function. PHP support for flymake. | 17 | (flymake-php-init): New function. PHP support for flymake. |
| 18 | 18 | ||
| 19 | * progmodes/compile.el (compilation-error-regexp-alist-alist): Add | ||
| 20 | regular expression for PHP errors. | ||
| 21 | |||
| 22 | |||
| 19 | 2008-02-13 Michael Albinus <michael.albinus@gmx.de> | 23 | 2008-02-13 Michael Albinus <michael.albinus@gmx.de> |
| 20 | 24 | ||
| 21 | * net/ange-ftp.el (ange-ftp-quote-string): Use | 25 | * net/ange-ftp.el (ange-ftp-quote-string): Use |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 9dca3553b14..65391251e25 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -289,6 +289,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 289 | " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ | 289 | " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ |
| 290 | during global destruction\\.$\\)" 1 2) | 290 | during global destruction\\.$\\)" 1 2) |
| 291 | 291 | ||
| 292 | (php | ||
| 293 | "\\(?:Parse\\|Fatal\\) error: \\(.*\\) in \\(.*\\) on line \\([0-9]+\\)" | ||
| 294 | 2 3 nil nil) | ||
| 295 | |||
| 292 | (rxp | 296 | (rxp |
| 293 | "^\\(?:Error\\|Warnin\\(g\\)\\):.*\n.* line \\([0-9]+\\) char\ | 297 | "^\\(?:Error\\|Warnin\\(g\\)\\):.*\n.* line \\([0-9]+\\) char\ |
| 294 | \\([0-9]+\\) of file://\\(.+\\)" | 298 | \\([0-9]+\\) of file://\\(.+\\)" |