From 3baf6dafea70401444ddc94f1b353c3d32a66743 Mon Sep 17 00:00:00 2001 From: rustanleino Date: Fri, 17 Sep 2010 01:26:47 +0000 Subject: Dafny: * Added full support for multi-dimensional arrays (except for one issue that still needs to be added in compilation) * Changed syntax of array length from |a| to a.Length (for one-dimensional arrays). The syntax for either dimensions is, for example, b.Length0 and b.Length1 for 2-dimensional arrays. * Internally, this meant adding support for built-in classes and readonly fields --- Util/Emacs/dafny-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Util/Emacs/dafny-mode.el') diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index 2f5fc467..82490ae7 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -39,7 +39,7 @@ "assert" "assume" "break" "call" "then" "else" "havoc" "if" "label" "return" "while" "print" "old" "forall" "exists" "new" "foreach" "in" "this" "fresh" "use" "match" "case" "false" "true" "null")) . font-lock-keyword-face) - `(,(dafny-regexp-opt '("array" "bool" "int" "object" "set" "seq")) . font-lock-type-face) + `(,(dafny-regexp-opt '("array" "array2" "array3" "bool" "int" "object" "set" "seq")) . font-lock-type-face) ) "Minimal highlighting for Dafny mode") -- cgit v1.2.3