From 4c57fc24599d55b2a1d2543c68513eda1ecd7420 Mon Sep 17 00:00:00 2001 From: Rustan Leino Date: Fri, 21 Oct 2011 18:22:59 -0700 Subject: Dafny: changed triggers (which are never really used, anyhow) from having a special syntactic form to being just an attribute Dafny: added "parallel" statement (so far, only parsing and resolving) Dafny: allow types on bound variables in "match" expressions/statements (there's never any incentive to list them explicitly in the program text, but it nevertheless seemed silly to forbid them) --- 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 e352ad70..98006cca 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -37,7 +37,7 @@ )) . font-lock-builtin-face) `(,(dafny-regexp-opt '( "assert" "assume" "break" "choose" "then" "else" "havoc" "if" "label" "return" "while" "print" - "old" "forall" "exists" "new" "foreach" "in" "this" "fresh" "allocated" + "old" "forall" "exists" "new" "foreach" "parallel" "in" "this" "fresh" "allocated" "match" "case" "false" "true" "null")) . font-lock-keyword-face) `(,(dafny-regexp-opt '("array" "array2" "array3" "bool" "nat" "int" "object" "set" "seq")) . font-lock-type-face) ) -- cgit v1.2.3