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

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

[nongnu] elpa/d-mode 6cbba0e 301/346: Fix fontification of lone protecti


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 6cbba0e 301/346: Fix fontification of lone protection labels
Date: Sun, 29 Aug 2021 11:00:49 -0400 (EDT)

branch: elpa/d-mode
commit 6cbba0ea16ce0a5bec6a941cafee3fc5aa160995
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    Fix fontification of lone protection labels
---
 d-mode.el                     | 7 +++----
 tests/fonts_protection.d      | 2 ++
 tests/fonts_protection.d.html | 2 ++
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index ce96957..acc8d8f 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
 ;; Maintainer:  Russel Winder <russel@winder.org.uk>
 ;;              Vladimir Panteleev <vladimir@thecybershadow.net>
 ;; Created:  March 2007
-;; Version:  201911111737
+;; Version:  201911111751
 ;; Keywords:  D programming language emacs cc-mode
 ;; Package-Requires: ((emacs "25.1"))
 
@@ -256,9 +256,8 @@ operators."
 
 (c-lang-defconst c-protection-kwds
   ;; Access protection label keywords in classes.
-  d '("deprecated" "static" "extern" "final" "synchronized" "override"
-      "abstract" "scope"
-      "private" "package" "protected" "public" "export"))
+  ;; Already included in c-modifier-kwds.
+  d nil)
 
 (c-lang-defconst c-postfix-spec-kwds
  ;Keywords introducing extra declaration specifiers in the region
diff --git a/tests/fonts_protection.d b/tests/fonts_protection.d
index 1b59fbb..bf5ff2b 100644
--- a/tests/fonts_protection.d
+++ b/tests/fonts_protection.d
@@ -6,3 +6,5 @@ class C
 public:
        Type var3, var4;
 }
+
+package:
diff --git a/tests/fonts_protection.d.html b/tests/fonts_protection.d.html
index 755ee00..28da16e 100644
--- a/tests/fonts_protection.d.html
+++ b/tests/fonts_protection.d.html
@@ -6,3 +6,5 @@
 <span class="keyword">public</span>:
        <span class="type">Type</span> <span class="variable-name">var3</span>, 
<span class="variable-name">var4</span>;
 }
+
+<span class="keyword">package</span>:



reply via email to

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