branch: elpa/d-mode
commit 281ea8f93e92548cddde3b2c872ee216f64ebfad
Author: Roy Crihfield <[email protected]>
Commit: Roy Crihfield <[email protected]>
Add '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.