[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode fbd1f8b 089/346: Merge pull request #44 from snosov
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode fbd1f8b 089/346: Merge pull request #44 from snosov1/master |
Date: |
Sun, 29 Aug 2021 11:00:09 -0400 (EDT) |
branch: elpa/d-mode
commit fbd1f8bcf9918c9395f3ac430e9638231e5a61c9
Merge: 322250a 5c06e99
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>
Merge pull request #44 from snosov1/master
add d-exceptions compilation error regexp
We've taken a view, we can always revert if need be.
---
d-mode.el | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 2c6c2ff..22cbc34 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -173,20 +173,27 @@ operators."
;;; 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
+;; The following regexp recognizes messages generated by the LDC and DMD
+;; compilers. 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
+;; subexpressions 3 and 4 are the message type -- error, warning, or info.
-;; 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 ...
+;; GDC messages are recognized by gnu symbol already listed in
+;; compilation-error-regexp-alist.
(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)))
+(add-to-list 'compilation-error-regexp-alist 'ldc)
+
+;; The following regexp recognizes messages generated by the D runtime for
+;; unhandled exceptions (e.g. assert failures).
+
+(add-to-list 'compilation-error-regexp-alist-alist
+ '(d-exceptions
+ "^[^@]*?@\\(.*?\\)(\\([0-9]+\\)):"
+ 1 2 nil 2))
+(add-to-list 'compilation-error-regexp-alist 'd-exceptions)
;;----------------------------------------------------------------------------
- [nongnu] elpa/d-mode 281ea8f 020/346: Add 'delete' to c-paren-type-kwds., (continued)
- [nongnu] elpa/d-mode 281ea8f 020/346: Add 'delete' to c-paren-type-kwds., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9b22a93 023/346: Declare the 2.0.6 release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2cb1fe0 030/346: don't highlight []* in type face, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2f684db 037/346: Fix deadlock in imenu generator, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 701c6be 044/346: use `cc-imenu-init' rather than `setq', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode bac805f 050/346: Fix backslashes in backquotes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 86930c3 059/346: Rework a sentence of the README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5691b70 069/346: Merge pull request #36 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8a14ce4 080/346: Fix some compiler warnings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 79940f2 085/346: Cleanup and fix test error reporting., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fbd1f8b 089/346: Merge pull request #44 from snosov1/master,
ELPA Syncer <=
- [nongnu] elpa/d-mode e19d704 090/346: Closes #21., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a927264 092/346: Allow tests to specify lisp code and expected output., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b4cbdfc 094/346: Workaround issue #50., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3e80976 097/346: recognize deprecation warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 6323cd4 098/346: Recognize postfix @-keywords in function declarations for imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 600c70b 108/346: Merge pull request #65 from CyberShadow/pull-20160329-054927, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3e73378 112/346: Update the badges/shields in the README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a99d127 054/346: Fix keywords list construction to include doc-comment keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f487a71 058/346: Add the function to support alignment of multi-line fluent API using expressions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 05cd7b9 038/346: Fix classes with inherit lists, ELPA Syncer, 2021/08/29