diff options
author | Jason Koenig <unknown> | 2012-07-30 11:43:28 -0700 |
---|---|---|
committer | Jason Koenig <unknown> | 2012-07-30 11:43:28 -0700 |
commit | e9534ceb03a09e5524709a6f9112d8c7fb1df711 (patch) | |
tree | 4eb64acd97bedc3f607ae0cd4a1982dac962d960 /Util/Emacs/dafny-mode.el | |
parent | 6bf0ba2b22e7136141b3078b65b2ffa185dcf8ed (diff) |
Dafny: removed allocated keyword, changed module import syntax. "opened" keyword is parsed but ignored.
Diffstat (limited to 'Util/Emacs/dafny-mode.el')
-rw-r--r-- | Util/Emacs/dafny-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
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)
)
|