diff options
author | rustanleino <unknown> | 2010-03-16 02:21:34 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-03-16 02:21:34 +0000 |
commit | cc63641cd0211b2f585330c9d65208665671991b (patch) | |
tree | 0f5b52ee6a12d679b2eff1cdc3c8cff85f9d6fe0 /Util | |
parent | b4a219dac0944f0a4a398538f4c05edc8ec9a71b (diff) |
Dafny:
* Beginning of module implementation
* Changed "class" modifier (for functions and methods) to "static"
Diffstat (limited to 'Util')
-rw-r--r-- | Util/Emacs/dafny-mode.el | 1 | ||||
-rw-r--r-- | Util/latex/dafny.sty | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index 3b10c560..da7e59e7 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -31,6 +31,7 @@ `(,(dafny-regexp-opt '(
"class" "datatype" "function" "frame" "ghost" "var" "method"
+ "module" "imports" "static"
"returns" "requires" "ensures" "modifies" "reads" "free"
"invariant" "decreases"
)) . font-lock-builtin-face)
diff --git a/Util/latex/dafny.sty b/Util/latex/dafny.sty index 23ea36fb..641584b6 100644 --- a/Util/latex/dafny.sty +++ b/Util/latex/dafny.sty @@ -7,8 +7,8 @@ \lstdefinelanguage{dafny}{
morekeywords={class,datatype,bool,int,object,set,seq,%
function,returns,
- ghost,var,
- method,in,
+ ghost,var,static,
+ method,module,imports,in,
requires,modifies,ensures,reads,decreases,free,
% expressions
match,case,false,true,null,old,fresh,this,
|