From 166c105b43515bfdbde52514fa9c16ffd61eea25 Mon Sep 17 00:00:00 2001 From: Rustan Leino Date: Mon, 21 Nov 2011 22:40:44 -0800 Subject: Dafny: Added "type" declaration (syntax: "type X;"), which introduces an arbitrary type (like a global type parameter). In the future, a refined module may allow such types to be instantiated. --- Util/Emacs/dafny-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Util/Emacs') diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index 7235303a..89974290 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -30,7 +30,7 @@ ]\\)*" . font-lock-comment-face) `(,(dafny-regexp-opt '( - "class" "datatype" "function" "ghost" "var" "method" "constructor" "unlimited" + "class" "datatype" "type" "function" "ghost" "var" "method" "constructor" "unlimited" "module" "imports" "static" "refines" "replaces" "by" "returns" "requires" "ensures" "modifies" "reads" "free" "invariant" "decreases" -- cgit v1.2.3