From ded134088845e37125e3d38929d37c5a9424518a Mon Sep 17 00:00:00 2001 From: Jason Koenig Date: Mon, 30 Jul 2012 11:43:28 -0700 Subject: Dafny: removed allocated keyword, changed module import syntax. "opened" keyword is parsed but ignored. --- Util/Emacs/dafny-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Util/Emacs/dafny-mode.el') diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index e4a8c5d0..0b64a775 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -32,13 +32,13 @@ `(,(dafny-regexp-opt '( "class" "datatype" "codatatype" "type" "function" "predicate" "copredicate" "ghost" "var" "method" "constructor" - "module" "imports" "static" "refines" + "module" "import" "default" "as" "opened" "static" "refines" "returns" "requires" "ensures" "modifies" "reads" "free" "invariant" "decreases" )) . font-lock-builtin-face) `(,(dafny-regexp-opt '( "assert" "assume" "break" "choose" "then" "else" "havoc" "if" "label" "return" "while" "print" "where" - "old" "forall" "exists" "new" "parallel" "in" "this" "fresh" "allocated" + "old" "forall" "exists" "new" "parallel" "in" "this" "fresh" "match" "case" "false" "true" "null")) . font-lock-keyword-face) `(,(dafny-regexp-opt '("array" "array2" "array3" "bool" "multiset" "map" "nat" "int" "object" "set" "seq")) . font-lock-type-face) ) -- cgit v1.2.3