branch: elpa/dart-mode
commit 91cc86caf7c42adf69eb3374f44b814a2f11c2ec
Author: Nathan Weizenbaum <[email protected]>
Commit: Nathan Weizenbaum <[email protected]>
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"))