branch: elpa/d-mode
commit 47c29cb0e460aaab0e0675183e0b487068cf1cea
Merge: 5a2577f 281ea8f
Author: Russel Winder <[email protected]>
Commit: Russel Winder <[email protected]>
Merge pull request #5 from roysc/master
Added "delete" to c-paren-type-kwds
---
d-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 3757058..a240866 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -166,8 +166,8 @@ operators."
(c-lang-defconst c-type-modifier-kwds
d '("__gshared" "const" "immutable" "inout" "lazy" "shared" "volatile"
- "invariant" "enum")
-)
+ "invariant" "enum"))
+
(c-lang-defconst c-type-prefix-kwds
;; Keywords where the following name - if any - is a type name, and
;; where the keyword together with the symbol works as a type in
@@ -226,7 +226,7 @@ operators."
(c-lang-defconst c-paren-type-kwds
;; Keywords that may be followed by a parenthesis expression containing
;; type identifiers separated by arbitrary tokens.
- d '("throw"))
+ d '("delete" "throw"))
(c-lang-defconst c-block-stmt-1-kwds
;; Statement keywords followed directly by a substatement.