diff options
| author | Filipp Gunbin | 2019-10-29 23:06:20 +0300 |
|---|---|---|
| committer | Filipp Gunbin | 2019-10-29 23:06:20 +0300 |
| commit | 6d2c73e8c725863db5d4fbbf1a59e35ebaa5f6b4 (patch) | |
| tree | d30a8709173a1d3eed4790eef50c64ced3df2b7c /lisp/progmodes | |
| parent | dafc87efd0b8ef941aa4e11986095a98fce536e1 (diff) | |
| download | emacs-6d2c73e8c725863db5d4fbbf1a59e35ebaa5f6b4.tar.gz emacs-6d2c73e8c725863db5d4fbbf1a59e35ebaa5f6b4.zip | |
Add gradle-kotlin to compilation-error-regexp-alist-alist
* lisp/progmodes/compile.el: Add gradle-kotlin to
compilation-error-regexp-alist-alist.
* etc/compilation.txt: Add samples for it.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/compile.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index cd7a5dc677e..b0bb728de0e 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -236,6 +236,16 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) | |||
| 236 | "\\(^Warning .*\\)? line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" | 236 | "\\(^Warning .*\\)? line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" |
| 237 | 4 2 3 (1)) | 237 | 4 2 3 (1)) |
| 238 | 238 | ||
| 239 | ;; Gradle with kotlin-gradle-plugin (see | ||
| 240 | ;; GradleStyleMessagerRenderer.kt in kotlin sources, see | ||
| 241 | ;; https://youtrack.jetbrains.com/issue/KT-34683). | ||
| 242 | (gradle-kotlin | ||
| 243 | ,(concat | ||
| 244 | "^\\(?:\\(w\\)\\|.\\): *" ;type | ||
| 245 | "\\(\\(?:[A-Za-z]:\\)?[^:\n]+\\): *" ;file | ||
| 246 | "(\\([0-9]+\\), *\\([0-9]+\\))") ;line, column | ||
| 247 | 2 3 4 (1)) | ||
| 248 | |||
| 239 | (iar | 249 | (iar |
| 240 | "^\"\\(.*\\)\",\\([0-9]+\\)\\s-+\\(?:Error\\|Warnin\\(g\\)\\)\\[[0-9]+\\]:" | 250 | "^\"\\(.*\\)\",\\([0-9]+\\)\\s-+\\(?:Error\\|Warnin\\(g\\)\\)\\[[0-9]+\\]:" |
| 241 | 1 2 nil (3)) | 251 | 1 2 nil (3)) |