branch: elpa/d-mode
commit b0a59de21a0567084f2f0fd2c4bf0e9bc6930f23
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Fix mis-parsing of concatenating two variables
Cull c-identifier-ops some more.
Again, no immediately obvious downside.
---
d-mode.el | 5 ++---
tests/fonts.d | 2 ++
tests/fonts.d.html | 2 ++
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 8553aad..8cdb40d 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: 201909081908
+;; Version: 201909081931
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -130,8 +130,7 @@
(c-lang-defconst c-identifier-ops
;; For recognizing "~this", ".foo", and "foo.bar.baz" as identifiers
- d '((prefix "~")
- (left-assoc ".")))
+ d '((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 8c9a0a6..a9b6ee8 100644
--- a/tests/fonts.d
+++ b/tests/fonts.d
@@ -8,4 +8,6 @@ void main()
assert(s in aa);
aa[s].length;
+
+ run(a ~ b);
}
diff --git a/tests/fonts.d.html b/tests/fonts.d.html
index 90e2f12..27a9b4d 100644
--- a/tests/fonts.d.html
+++ b/tests/fonts.d.html
@@ -8,4 +8,6 @@
<span class="keyword">assert</span>(s <span class="keyword">in</span>
aa);
aa[s].length;
+
+ run(a ~ b);
}