[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 9a17cb1 036/346: Add more D attributes to c-protect
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 9a17cb1 036/346: Add more D attributes to c-protection-kwds. Handle initializers in c-protection-kwds workaround. |
Date: |
Sun, 29 Aug 2021 11:00:00 -0400 (EDT) |
branch: elpa/d-mode
commit 9a17cb161a2ca0c347f0aa06de73dfc1b4e624f0
Author: finalpatch <fengli@gmail.com>
Commit: finalpatch <fengli@gmail.com>
Add more D attributes to c-protection-kwds. Handle initializers in
c-protection-kwds workaround.
---
d-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 0806797..0e167f8 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -205,7 +205,9 @@ operators."
(c-lang-defconst c-protection-kwds
;; Access protection label keywords in classes.
- d '("export" "private" "package" "protected" "public"))
+ d '("deprecated" "static" "extern" "final" "synchronized" "override"
+ "abstract" "scope" "const" "inout" "shared" "__gshared"
+ "private" "package" "protected" "public" "export"))
;;(c-lang-defconst c-postfix-decl-spec-kwds
;; ;Keywords introducing extra declaration specifiers in the region
@@ -462,7 +464,7 @@ Key bindings:
;; fail. The solution used here is to use font-lock-add-keywords to
;; add back the syntax highlight.
-(defconst d-var-decl-pattern "^[ \t]*\\(?:[_a-zA-Z0-9]+[
\t\n]+\\)*\\([_a-zA-Z0-9.!]+\\)\\(?:\\[[^]]*\\]\\|\\*\\)?[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*;")
+(defconst d-var-decl-pattern "^[ \t]*\\(?:[_a-zA-Z0-9]+[
\t\n]+\\)*\\([_a-zA-Z0-9.!]+\\)\\(?:\\[[^]]*\\]\\|\\*\\)?[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*[;=]")
(defconst d-fun-decl-pattern "^[ \t]*\\(?:[_a-zA-Z0-9]+[
\t\n]+\\)*\\([_a-zA-Z0-9.!]+\\)\\(?:\\[[^]]*\\]\\|\\*\\)?[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*(")
(defmacro d-try-match-decl (regex)
`(let ((pt))
- [nongnu] elpa/d-mode c68bc67 001/346: The Epoch., (continued)
- [nongnu] elpa/d-mode c68bc67 001/346: The Epoch., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8b467a3 006/346: Extend the README.md a little., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f6d79da 009/346: Update the version number psot release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e15f60d 016/346: Merge branch 'master' of https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5ccf545 007/346: Added keywords, improved indentation of 'template'., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e0dac81 010/346: changed d-mode to a proper derived mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a587c35 014/346: Merge pull request #3 from roysc/patch-derive, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c4a8921 018/346: Added '^^=' to assignement operators, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0268bde 022/346: Added __vector as a keyword in the same categories at const and shared., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 72d2022 026/346: improve d-mode imenu method name indexing, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9a17cb1 036/346: Add more D attributes to c-protection-kwds. Handle initializers in c-protection-kwds workaround.,
ELPA Syncer <=
- [nongnu] elpa/d-mode a1dccad 017/346: Added override to c-modifier-kwds. Changed functionp to fboundp, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode d2a3306 011/346: remove commented lines, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 68ee0fe 012/346: Parent mode is conditional for compatibility, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 685f825 013/346: Parent mode is conditional for compatibility, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5a2577f 019/346: Merge pull request #4 from roysc/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 47c29cb 021/346: Merge pull request #5 from roysc/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e9fb18b 024/346: Bump version number post release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f6228c7 025/346: * Add pointer type support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ac3c6db 029/346: allow * in typenames, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4214c49 031/346: fix a bug that incorrectly fontifies struct/class keywords (when the type has type arguments) in type face., ELPA Syncer, 2021/08/29