branch: elpa/d-mode commit 05cd7b9172acd231e92723ad89ba8d5f2975a734 Author: finalpatch <fen...@gmail.com> Commit: finalpatch <fen...@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