[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 5c5a2b1 071/346: Merge pull request #37 from dmakar
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 5c5a2b1 071/346: Merge pull request #37 from dmakarov/master |
Date: |
Sun, 29 Aug 2021 11:00:06 -0400 (EDT) |
branch: elpa/d-mode
commit 5c5a2b128802ed4f27b5403c5aba01c3c801ac98
Merge: 5691b70 01997e0
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>
Merge pull request #37 from dmakarov/master
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 f487a71 058/346: Add the function to support alignment of multi-line fluent API using expressions., (continued)
- [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
- [nongnu] elpa/d-mode 27e7c62 041/346: Merge pull request #14 from finalpatch/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 011d0cf 043/346: Merge pull request #17 from nordlow/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a612105 052/346: Add (require 'cl) as per Issue #23., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 72c1bbd 056/346: Update the README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f400055 062/346: Some tidying up of comments, no change of code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 27fbe66 065/346: Workaround for special case of 'else static if'., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 85a0900 067/346: Update the URL to the D main website., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c108583 072/346: (require 'compile), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5c5a2b1 071/346: Merge pull request #37 from dmakarov/master,
ELPA Syncer <=
- [nongnu] elpa/d-mode e2a1289 074/346: Remove duplicate keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 075c3e7 075/346: Fix indentation of 'else verbose' and 'else debug' statements., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a081749 079/346: Fix clean target., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4f2994b 082/346: Add more code to the I0039 test., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f184116 084/346: Borrow from cc-mode regression testsuit harness functions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 322250a 088/346: Merge pull request #46 from dmakarov/testing, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ed4ae58 086/346: Add MELPA badge., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2682220 091/346: Merge branch 'dmakarov-master', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 11cda40 093/346: Merge pull request #48 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9a89656 102/346: Merge pull request #61 from CyberShadow/pull-20160327-114822, ELPA Syncer, 2021/08/29