emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dart-mode be14d27 029/192: Dart doesn't use . as an identi


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode be14d27 029/192: Dart doesn't use . as an identifier op.
Date: Sun, 29 Aug 2021 11:01:44 -0400 (EDT)

branch: elpa/dart-mode
commit be14d277accab89411d18b65505308ce12308549
Author: Nathan Weizenbaum <nweiz@google.com>
Commit: Nathan Weizenbaum <nweiz@google.com>

    Dart doesn't use . as an identifier op.
---
 dart-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index 238c69e..011c480 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -32,7 +32,6 @@
 ;; * Multiline strings using """ and ''' are not recognized. They fontify
 ;;   correctly, but only because they look like three strings in a row.
 ;; * In a map with identifier keys, the first key is fontified like a label.
-;; * Named constructors aren't fontified correctly.
 
 ;;; Code:
 
@@ -48,6 +47,9 @@
 (c-lang-defconst c-symbol-start
   dart (concat "[" c-alpha "_]"))
 
+(c-lang-defconst c-identifier-ops
+  dart nil)
+
 (c-lang-defconst c-after-id-concat-ops
   dart nil)
 
@@ -74,7 +76,6 @@
 
 (c-lang-defconst c-operators
   dart `((prefix "#")
-         ,@(c-lang-const c-identifier-ops)
          (postfix-if-paren "<" ">")
          (prefix "super")
          (left-assoc ".")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]