diff options
author | rustanleino <unknown> | 2010-02-04 22:14:26 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-02-04 22:14:26 +0000 |
commit | a4765e1bd6f66b4571760f60883270df02025882 (patch) | |
tree | 3ab0f5d5425473d299bb4728ed8d7c09e5d88908 /Util/latex | |
parent | 08e368784c1ae629d870db6b09edadbef306e1d6 (diff) |
Dafny: Added if-then-else expressions (replacing and extending the previous boolean-only if-then-else expressions)
Dafny: Added 'class' functions and methods (i.e., functions and methods with a receiver parameter)
Dafny grammar changes: Tthe 'use' keyword now goes before 'function' (akin to 'ghost' and 'class'), and quantifier triggers now go before the '::'
Dafny: Check for division-by-zero for both '/' and '%'
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 f88c3b54..23ea36fb 100644 --- a/Util/latex/dafny.sty +++ b/Util/latex/dafny.sty @@ -13,7 +13,7 @@ % expressions
match,case,false,true,null,old,fresh,this,
% statements
- assert,assume,new,havoc,call,if,else,while,invariant,break,return,foreach,
+ assert,assume,new,havoc,call,if,then,else,while,invariant,break,return,foreach,
},
literate=%
{:}{$\colon$}1
|