summaryrefslogtreecommitdiff
path: root/Util/Emacs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-10-21 18:22:59 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2011-10-21 18:22:59 -0700
commit17d0de36bf0f125ecac2ac6142c226f32f5370a5 (patch)
tree1cf71d18f583ab14252b0a29badf3a2e0c270f57 /Util/Emacs
parent253ace40ff7f3382f1f413020069fcaae7a966e0 (diff)
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)
Diffstat (limited to 'Util/Emacs')
-rw-r--r--Util/Emacs/dafny-mode.el2
1 files changed, 1 insertions, 1 deletions
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)
)