summaryrefslogtreecommitdiff
path: root/Util/latex
diff options
context:
space:
mode:
authorGravatar Jason Koenig <unknown>2012-07-10 16:08:44 -0700
committerGravatar Jason Koenig <unknown>2012-07-10 16:08:44 -0700
commit407cfc5cd9bddb106e60d55684a78e660af87f88 (patch)
treead1ada34d480928783e997c85578f4f04ef82ae9 /Util/latex
parent8bc70b104efb559206a2b65e3f4151049dcb84ad (diff)
Dafny: fixed ghost checking for labeled (i.e. named) expressions, changed to parallel syntax, other minor fixes
Diffstat (limited to 'Util/latex')
-rw-r--r--Util/latex/dafny.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Util/latex/dafny.sty b/Util/latex/dafny.sty
index cfd8863f..74bfa65a 100644
--- a/Util/latex/dafny.sty
+++ b/Util/latex/dafny.sty
@@ -5,7 +5,7 @@
\usepackage{listings}
\lstdefinelanguage{dafny}{
- morekeywords={class,datatype,codatatype,type,bool,nat,int,object,set,multiset,seq,array,array2,array3,%
+ morekeywords={class,datatype,codatatype,type,bool,nat,int,object,set,multiset,seq,array,array2,array3,map%
function,predicate,copredicate,
ghost,var,static,refines,
method,constructor,returns,module,imports,in,
@@ -13,7 +13,7 @@
% expressions
match,case,false,true,null,old,fresh,allocated,choose,this,
% statements
- assert,assume,print,new,havoc,if,then,else,while,invariant,break,label,return,parallel,
+ assert,assume,print,new,havoc,if,then,else,while,invariant,break,label,return,parallel,where
},
literate=%
{:}{$\colon$}1