diff options
author | Jason Koenig <unknown> | 2011-06-28 15:15:53 -0700 |
---|---|---|
committer | Jason Koenig <unknown> | 2011-06-28 15:15:53 -0700 |
commit | 05b31081aa54bdc0a6041cb28ee3f272db2e41e6 (patch) | |
tree | c8a4b81ab3ef5bbed151c1b955748208167e82a2 /Dafny/Printer.cs | |
parent | a398e8bd151e575a9d470d5cd052326eb26ae789 (diff) |
Initial modifies on loops implementation. Still some errors remaining.
Diffstat (limited to 'Dafny/Printer.cs')
-rw-r--r-- | Dafny/Printer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Dafny/Printer.cs b/Dafny/Printer.cs index a8970f05..9970d61a 100644 --- a/Dafny/Printer.cs +++ b/Dafny/Printer.cs @@ -507,6 +507,10 @@ namespace Microsoft.Dafny { PrintSpec("invariant", s.Invariants, indent + IndentAmount);
PrintSpecLine("decreases", s.Decreases, indent + IndentAmount);
+ if (s.Mod != null)
+ {
+ PrintFrameSpecLine("modifies", s.Mod, indent + IndentAmount);
+ }
Indent(indent);
PrintStatement(s.Body, indent);
|