From 53f5fa354a50cf82880a4dd382d0a5a2024956ba Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 25 Apr 2012 16:37:12 -0700 Subject: Dafny: fixed resolution bug for inductive datatypes (previous check did not handle generic datatypes correctly) Dafny: fixed compiler bug in inductive datatypes (missing type parameters in emitted code) Dafny: added "codatatype" declaration (syntax only for now) --- Util/latex/dafny.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Util/latex') diff --git a/Util/latex/dafny.sty b/Util/latex/dafny.sty index b23e2dc4..4126d2f2 100644 --- a/Util/latex/dafny.sty +++ b/Util/latex/dafny.sty @@ -5,7 +5,7 @@ \usepackage{listings} \lstdefinelanguage{dafny}{ - morekeywords={class,datatype,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,% function,predicate,unlimited, ghost,var,static,refines, method,constructor,returns,module,imports,in, -- cgit v1.2.3