summaryrefslogtreecommitdiff
path: root/Util
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2010-03-16 02:21:34 +0000
committerGravatar rustanleino <unknown>2010-03-16 02:21:34 +0000
commite24f345de7baff1a23f941647575ef85d96ca2f6 (patch)
tree0ff31a0f912f4d2be394c82a1be280da9ccf901d /Util
parentd83d1f3813e2765db4e3855adcb10fc3319a737f (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.el1
-rw-r--r--Util/latex/dafny.sty4
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,