diff options
author | Bryan Parno <parno@microsoft.com> | 2013-12-10 13:41:50 -0800 |
---|---|---|
committer | Bryan Parno <parno@microsoft.com> | 2013-12-10 13:41:50 -0800 |
commit | 195097dc1353946f524f2518453bd356a09f6681 (patch) | |
tree | ffeb46c86abb50fa8f2df26dddd9526880f39bd1 /Util/Emacs | |
parent | 982e64871949040b3d766c4d36f9ccdf5f506f7a (diff) |
Add support for the "include" keyword, which accepts a (possibly relative) path
to another Dafny file. That file's functions and methods are included but not checked.
This is intended to support incremental verification on a per-file basis.
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 7075a30d..2fe109f5 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -35,7 +35,7 @@ "ghost" "var" "method" "lemma" "constructor" "comethod" "colemma"
"abstract" "module" "import" "default" "as" "opened" "static" "refines"
"returns" "yields" "requires" "ensures" "modifies" "reads" "free"
- "invariant" "decreases"
+ "invariant" "decreases" "include"
)) . font-lock-builtin-face)
`(,(dafny-regexp-opt '(
"assert" "assume" "break" "then" "else" "if" "label" "return" "yield"
|