[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 9ad04a1 213/346: Fix parsing/fontification of some
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 9ad04a1 213/346: Fix parsing/fontification of some expressions with periods |
Date: |
Sun, 29 Aug 2021 11:00:33 -0400 (EDT) |
branch: elpa/d-mode
commit 9ad04a1d5beb04d4549ea174f02beaab8ee888be
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Fix parsing/fontification of some expressions with periods
Cull c-identifier-ops. No immediately obvious downside.
---
d-mode.el | 5 +++--
tests/fonts.d | 2 ++
tests/fonts.d.html | 2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index c51cdc0..8553aad 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: 201909081807
+;; Version: 201909081908
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -130,7 +130,8 @@
(c-lang-defconst c-identifier-ops
;; For recognizing "~this", ".foo", and "foo.bar.baz" as identifiers
- d '((prefix "~")(prefix ".")(left-assoc ".")))
+ d '((prefix "~")
+ (left-assoc ".")))
(c-lang-defconst c-after-id-concat-ops
;; Also for handling ~this
diff --git a/tests/fonts.d b/tests/fonts.d
index 27601ae..8c9a0a6 100644
--- a/tests/fonts.d
+++ b/tests/fonts.d
@@ -6,4 +6,6 @@ void main()
string[string] aa; string s;
assert(s in aa);
+
+ aa[s].length;
}
diff --git a/tests/fonts.d.html b/tests/fonts.d.html
index 6582a32..90e2f12 100644
--- a/tests/fonts.d.html
+++ b/tests/fonts.d.html
@@ -6,4 +6,6 @@
<span class="type">string</span>[<span class="type">string</span>]
<span class="variable-name">aa</span>; <span class="type">string</span> <span
class="variable-name">s</span>;
<span class="keyword">assert</span>(s <span class="keyword">in</span>
aa);
+
+ aa[s].length;
}
- [nongnu] elpa/d-mode 28810ef 194/346: Add test for function contracts, (continued)
- [nongnu] elpa/d-mode 28810ef 194/346: Add test for function contracts, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1bce6c4 191/346: Somewhat improve fontification of module names, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b413942 198/346: Tighten K&R region detection, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 07cb4d0 199/346: Add d-lineup-arglists, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode d3ceb14 200/346: Make d--imenu-rx-def-start a compile-time constant, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0b6a089 217/346: .travis.yml: Try using a emacs-travis.mk which does not use FTP, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 653661e 220/346: Fix parsing qualified types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f07f365 201/346: Fix fontification of constructor parameters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fd8e70a 209/346: Partially implement D type modifiers (const/immutable/etc.), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8647147 208/346: Fix tests' minimum Emacs versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9ad04a1 213/346: Fix parsing/fontification of some expressions with periods,
ELPA Syncer <=
- [nongnu] elpa/d-mode 5146f2d 215/346: Clear some cc-mode constants, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3f669a1 231/346: Replace regex-based imenu implementation with cc-mode-based, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode db2c33f 225/346: Fix parsing of D lambda literals' parameter lists, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1598b12 248/346: Switch to GPL v3 (or later), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 24fffad 242/346: Fix parsing of declarations after "static else", ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a8aad35 241/346: Fix imenu false positive with "static if", ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 6a19457 244/346: Fix function calls being mis-parsed as declarations after static else, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3077252 238/346: Correctness fix in d-forward-type, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1e5c7c3 227/346: Fix parsing of declarations following protection group, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f8c37b9 260/346: Implement parsing module names in import and module declarations, ELPA Syncer, 2021/08/29