branch: elpa/d-mode
commit 7d39bdf74bf7303f021f14ef07514a87b729f634
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Add missing "package" keyword to c-modifier-kwds
Fixes fontification and imenu of package symbols.
---
d-mode.el | 4 ++--
tests/imenu.d | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index f237547..d4ba08a 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
;; Maintainer: Russel Winder <[email protected]>
;; Vladimir Panteleev <[email protected]>
;; Created: March 2007
-;; Version: 201911071726
+;; Version: 201911071815
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -214,7 +214,7 @@ operators."
(c-lang-defconst c-modifier-kwds
d '("abstract" "deprecated" "extern"
"final" "out" "lazy" "mixin" "override" "private"
- "protected" "public" "ref" "scope" "static" "synchronized"
+ "protected" "package" "public" "ref" "scope" "static" "synchronized"
"volatile" "__vector"))
(c-lang-defconst c-class-decl-kwds
diff --git a/tests/imenu.d b/tests/imenu.d
index 690aad8..14d0616 100644
--- a/tests/imenu.d
+++ b/tests/imenu.d
@@ -1,5 +1,5 @@
// #run: (d-test-get-imenu-lines)
-// #out: (4 6 11 14 17 19 22 25 33 34 37 40 43 46 49 52 54 56 67 75 78 81 84
87 89 93 94 96 98)
+// #out: (4 6 11 14 17 19 22 25 33 34 37 40 43 46 49 52 54 56 67 75 78 81 84
87 89 93 94 96 98 101)
void foo(int x) {}
@@ -97,3 +97,5 @@ mixin template MT()
{
void fun() {}
}
+
+package string fillParameters(string name, string[] arguments) {}