diff options
author | leino <unknown> | 2014-10-20 17:08:46 -0700 |
---|---|---|
committer | leino <unknown> | 2014-10-20 17:08:46 -0700 |
commit | 82edb1b179916ee61655ab7e425a17ab5145fac8 (patch) | |
tree | d921e9e5a05a5eafbf04e77800a06b73bfed6c6f /Util/Emacs | |
parent | 963c6622a33dcff4875dbd44be1702cb979c917c (diff) |
Added types "char" and "string" (the latter being a synonym for "seq<char>").
Added string literals with various escapes--a subset of those supported in C# and similar languages, including the C# verbatim strings.
Previously, the "print" statement and custom attributes could support expression-or-string arguments; there is no longer a need to special-case these, so these arguments are now just expressions.
Fixed lack of operator resolution in custom attributes.
Diffstat (limited to 'Util/Emacs')
-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 ab794e2f..656fdb06 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -45,8 +45,8 @@ "old" "forall" "exists" "new" "calc" "modify" "in" "this" "fresh"
"match" "case" "false" "true" "null")) . font-lock-keyword-face)
`(,(dafny-regexp-opt '(
- "bool" "int" "nat" "real"
- "set" "multiset" "seq" "map"
+ "bool" "char" "int" "nat" "real"
+ "set" "multiset" "seq" "string" "map"
"object" "array" "array2" "array3")) . font-lock-type-face)
)
"Minimal highlighting for Dafny mode")
|