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

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

[nongnu] elpa/dart-mode 91cc86c 005/192: Make "var" a typeless decl keyw


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 91cc86c 005/192: Make "var" a typeless decl keyword.
Date: Sun, 29 Aug 2021 11:01:39 -0400 (EDT)

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

    Make "var" a typeless decl keyword.
---
 dart-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index 9711eb7..6d64bfb 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -24,7 +24,7 @@
 ;;; CC configuration
 
 (c-lang-defconst c-primitive-type-kwds
-  dart '("Dynamic" "void" "num" "int" "double" "bool" "var"))
+  dart '("Dynamic" "void" "num" "int" "double" "bool"))
 
 (c-lang-defconst c-class-decl-kwds
   dart '("class" "interface"))
@@ -32,7 +32,7 @@
 ;; Don't put these in c-modifier-kwds because they can be used without a type
 ;; following them.
 (c-lang-defconst c-typeless-decl-kwds
-  dart '("final" "static"))
+  dart '("final" "static" "var"))
 
 (c-lang-defconst c-modifier-kwds
   dart '("factory" "const"))



reply via email to

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