diff options
author | Reza Ahmadi <reza.ahmadi@uta.fi> | 2014-07-18 21:16:40 +0300 |
---|---|---|
committer | Reza Ahmadi <reza.ahmadi@uta.fi> | 2014-07-18 21:16:40 +0300 |
commit | 77143c833cbb14a20c704fb60fc28dd94edb44eb (patch) | |
tree | 7da7588d8dccb94fb1c5c42f23ec69c4edab2785 /Util/latex | |
parent | c377658acba5472b6d0c1e1452ce4c4c8f1fc28e (diff) |
added trait feature:
-possibility to declare traits in Dafny
-possibility to extend a class by a trait
-possibility to override body-less methods
Diffstat (limited to 'Util/latex')
-rw-r--r-- | Util/latex/dafny.sty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/latex/dafny.sty b/Util/latex/dafny.sty index 785cf6f1..40b994ba 100644 --- a/Util/latex/dafny.sty +++ b/Util/latex/dafny.sty @@ -5,7 +5,7 @@ \usepackage{listings}
\lstdefinelanguage{dafny}{
- morekeywords={class,datatype,codatatype,type,iterator,
+ morekeywords={class,datatype,codatatype,type,iterator,trait,extends,
bool,nat,int,real,object,set,multiset,seq,array,array2,array3,map,
function,predicate,copredicate,
ghost,var,static,refines,
|