summaryrefslogtreecommitdiff
path: root/Util/Emacs
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2009-11-08 20:53:30 +0000
committerGravatar rustanleino <unknown>2009-11-08 20:53:30 +0000
commitfdef447cce5bdc57851cad1427f2a8e7cd7df35f (patch)
tree0ba65512e599e44cb883d027a945375994bdc975 /Util/Emacs
parentc9c423ce3bde91f736266f8c9ae883b9e44acc70 (diff)
Start (some parsing and resolution) of adding algebraic datatypes to Dafny.
Included VSI-Benchmarks in standard tests.
Diffstat (limited to 'Util/Emacs')
-rw-r--r--Util/Emacs/dafny-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el
index 508ffbaf..9d3ed5e0 100644
--- a/Util/Emacs/dafny-mode.el
+++ b/Util/Emacs/dafny-mode.el
@@ -30,14 +30,14 @@
]\\)*" . font-lock-comment-face)
`(,(dafny-regexp-opt '(
- "class" "function" "frame" "var" "method"
+ "class" "datatype" "function" "frame" "var" "method"
"returns" "requires" "ensures" "modifies" "reads" "free"
"invariant" "decreases"
)) . font-lock-builtin-face)
`(,(dafny-regexp-opt '(
"assert" "assume" "break" "call" "else" "havoc" "if" "label" "return" "while"
"old" "forall" "exists" "new" "foreach" "in" "this" "fresh" "use"
- "false" "true" "null")) . font-lock-keyword-face)
+ "match" "case" "false" "true" "null")) . font-lock-keyword-face)
`(,(dafny-regexp-opt '("bool" "int" "object" "set" "seq")) . font-lock-type-face)
)
"Minimal highlighting for Dafny mode")