summaryrefslogtreecommitdiff
path: root/Util/latex/dafny.sty
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2009-11-08 20:53:30 +0000
committerGravatar rustanleino <unknown>2009-11-08 20:53:30 +0000
commitfdef447cce5bdc57851cad1427f2a8e7cd7df35f (patch)
tree0ba65512e599e44cb883d027a945375994bdc975 /Util/latex/dafny.sty
parentc9c423ce3bde91f736266f8c9ae883b9e44acc70 (diff)
Start (some parsing and resolution) of adding algebraic datatypes to Dafny.
Included VSI-Benchmarks in standard tests.
Diffstat (limited to 'Util/latex/dafny.sty')
-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 69cd6b0a..f334e770 100644
--- a/Util/latex/dafny.sty
+++ b/Util/latex/dafny.sty
@@ -5,13 +5,13 @@
\usepackage{listings}
\lstdefinelanguage{dafny}{
- morekeywords={class,bool,int,object,set,seq,%
+ morekeywords={class,datatype,bool,int,object,set,seq,%
function,returns,
var,
method,in,
requires,modifies,ensures,reads,free,
% expressions
- false,true,null,old,fresh,this,
+ match,case,false,true,null,old,fresh,this,
% statements
assert,assume,new,havoc,call,if,else,while,invariant,break,return,foreach,
},