diff options
| author | Paul Smith | 2019-10-05 12:29:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-10-05 12:33:23 -0700 |
| commit | e72e4990f99c5d56502d304f448a410bb17d12d7 (patch) | |
| tree | 980dd81c634c24535d949b4cd9fc2741e20aaf56 /lisp/progmodes | |
| parent | 4f2de56830ea25d812b05c954abd0600a012f9ef (diff) | |
| download | emacs-e72e4990f99c5d56502d304f448a410bb17d12d7.tar.gz emacs-e72e4990f99c5d56502d304f448a410bb17d12d7.zip | |
Support GNU make error messages in compile mode.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Match GNU make error messages.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data):
Test GNU make error message matching.
(compile-test-error-regexps): Update count of infos found.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/compile.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 83efb3e0295..50370a4f3ac 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -274,6 +274,12 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 274 | (ruby-Test::Unit | 274 | (ruby-Test::Unit |
| 275 | "^[\t ]*\\[\\([^(].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in " 1 2) | 275 | "^[\t ]*\\[\\([^(].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in " 1 2) |
| 276 | 276 | ||
| 277 | (gmake | ||
| 278 | ;; Set GNU make error messages as INFO level. | ||
| 279 | ;; It starts with the name of the make program which is variable, | ||
| 280 | ;; so don't try to match it. | ||
| 281 | ": \\*\\*\\* \\[\\(\\(.+?\\):\\([0-9]+\\): .+\\)\\]" 2 3 nil 0 1) | ||
| 282 | |||
| 277 | (gnu | 283 | (gnu |
| 278 | ;; The first line matches the program name for | 284 | ;; The first line matches the program name for |
| 279 | 285 | ||