emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode 05cd7b9 038/346: Fix classes with inherit lists


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 05cd7b9 038/346: Fix classes with inherit lists
Date: Sun, 29 Aug 2021 11:00:00 -0400 (EDT)

branch: elpa/d-mode
commit 05cd7b9172acd231e92723ad89ba8d5f2975a734
Author: finalpatch <fengli@gmail.com>
Commit: finalpatch <fengli@gmail.com>

    Fix classes with inherit lists
---
 d-mode.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/d-mode.el b/d-mode.el
index bcd221b..34c9ea1 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -147,6 +147,11 @@ operators."
  ;; doc comments for D use "///",  "/**" or doxygen's "/*!" "//!"
  d "/\\*[*!]\\|//[/!]")
 
+(c-lang-defconst c-block-prefix-disallowed-chars
+  ;; Allow ':' for inherit list starters.
+  d (set-difference (c-lang-const c-block-prefix-disallowed-chars)
+                                '(?:)))
+
 ;;----------------------------------------------------------------------------
 
 ;; Built-in basic types



reply via email to

[Prev in Thread] Current Thread [Next in Thread]