diff options
author | Rustan Leino <leino@microsoft.com> | 2011-11-21 22:40:44 -0800 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-11-21 22:40:44 -0800 |
commit | 166c105b43515bfdbde52514fa9c16ffd61eea25 (patch) | |
tree | 1d01cd5c3147c98ccc03e43a6659574f5c3f81c7 /Util/Emacs | |
parent | b07cff8fc3c732986c42b31226f0d7b06ed55886 (diff) |
Dafny: Added "type" declaration (syntax: "type X;"), which introduces an arbitrary type (like a global type parameter). In the future, a refined module may allow such types to be instantiated.
Diffstat (limited to 'Util/Emacs')
-rw-r--r-- | Util/Emacs/dafny-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index 7235303a..89974290 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -30,7 +30,7 @@ ]\\)*" . font-lock-comment-face)
`(,(dafny-regexp-opt '(
- "class" "datatype" "function" "ghost" "var" "method" "constructor" "unlimited"
+ "class" "datatype" "type" "function" "ghost" "var" "method" "constructor" "unlimited"
"module" "imports" "static" "refines" "replaces" "by"
"returns" "requires" "ensures" "modifies" "reads" "free"
"invariant" "decreases"
|