[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 01997e0 070/346: Add LDC compiler message pattern t
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 01997e0 070/346: Add LDC compiler message pattern to be recognized in compilation mode. |
Date: |
Sun, 29 Aug 2021 11:00:05 -0400 (EDT) |
branch: elpa/d-mode
commit 01997e042958a4394d6c052f3a5799f5c8b800f1
Author: Dmitri Makarov <dmakarov@alumni.stanford.edu>
Commit: Dmitri Makarov <dmakarov@alumni.stanford.edu>
Add LDC compiler message pattern to be recognized in compilation mode.
---
d-mode.el | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/d-mode.el b/d-mode.el
index 2dabd7a..4ed4fab 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -161,6 +161,24 @@ operators."
(c-font-lock-doc-comments "/\\+[+!]\\|/\\*[*!]\\|//[/!]" limit
doxygen-font-lock-doc-comments)))))
+
+;;; Patterns to recognize the compiler generated messages
+
+;; The following recognizes messages generated by the LDC compiler.
+;; Subexpression 1 is the filename, 2 is the line number, nil is the
+;; column, because it's not present in the LDC error messages, and the
+;; subexpressions 3 and 4 are the message type -- error, warning, or
+;; info. To enable, add ldc symbol to compilation-error-regexp-alist
+
+;; GDC messages are probably recognized by gnu symbol already listed
+;; in compilation-error-regexp-alist. The patterns for messages
+;; generated by DMD can be added in another similar call
+;; (add-to-list 'compilation-error-regexp-alist-alist '(dmd ...
+(add-to-list 'compilation-error-regexp-alist-alist
+ '(ldc
+ "^\\([^: \n]+\\)(\\([0-9]+\\)): \\(?:
*\\(?3:\\(?:W\\(?::\\|arning\\)\\|warning\\)\\)\\|
*\\(?4:[Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|\\[ skipping \\.+
]\\|instantiated from\\|required from\\|[Nn]ote\\)\\| *\\(?:[Ee]rror\\)\\)"
+ 1 2 nil (3 . 4)))
+
;;----------------------------------------------------------------------------
;; Built-in basic types
- [nongnu] elpa/d-mode 576dd29 123/346: tests: Actually test compilation-mode error list correctness, (continued)
- [nongnu] elpa/d-mode 576dd29 123/346: tests: Actually test compilation-mode error list correctness, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7817dbc 122/346: d-mode-test: Announce mismatched values of inline tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8ccad32 136/346: Simplify cascaded call indentation setup, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0b8ed61 152/346: Fix highlighting of const variable declarations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 593e3f5 155/346: Fix extern(C) functions omitted from imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 93a62b3 158/346: Fix imenu for functions returning types containing parens, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a4f0b2d 161/346: Fix imenu for functions prefixed with a version/else, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8771a86 162/346: Convert d-imenu-generic-expression to rx, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 908d55b 170/346: fix #49 - Occasional incorrect fontification of string literals due, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode dea775a 066/346: Merge pull request #35 from wrzoski/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 01997e0 070/346: Add LDC compiler message pattern to be recognized in compilation mode.,
ELPA Syncer <=
- [nongnu] elpa/d-mode 38ddb5a 076/346: Merge pull request #41 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2b0b84f 073/346: Merge pull request #38 from TOGoS/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c4d8ba8 099/346: Fix omission of final/abstract classes in imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9729d5f 103/346: Merge pull request #62 from CyberShadow/pull-20160328-152551, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2d014ef 106/346: Add .cask to .gitignore., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 830a070 095/346: Merge pull request #51 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b682601 118/346: Document cl compilation warning, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode efc92aa 120/346: tests: Add test for GitHub pull request #72, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7c3bcdc 124/346: tests: Split test for #72 to its own file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c881155 126/346: .travis.yml: Switch to a different PPA in order to test on Emacs 25, ELPA Syncer, 2021/08/29