summaryrefslogtreecommitdiff
path: root/Source/Dafny/Printer.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-05-25 22:14:28 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2011-05-25 22:14:28 -0700
commitdaba6b774c3f945de58229f28078e8dccaaec782 (patch)
tree944cb474649574039164c4736bc3e705e6181fd4 /Source/Dafny/Printer.cs
parentf7877ab8f223dcf3ea37ddc8a0b588316eb451a5 (diff)
Dafny: cleaned up parser, moved foreach statement from AssignStmt<> parsing to UpdateStmt, automatically infer ghosts when local variables are introduced with a call RHS
Diffstat (limited to 'Source/Dafny/Printer.cs')
-rw-r--r--Source/Dafny/Printer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Dafny/Printer.cs b/Source/Dafny/Printer.cs
index 894ffe94..f5fba723 100644
--- a/Source/Dafny/Printer.cs
+++ b/Source/Dafny/Printer.cs
@@ -548,7 +548,7 @@ namespace Microsoft.Dafny {
wr.WriteLine();
}
Indent(ind);
- PrintStatement(s.BodyAssign, ind);
+ PrintStatement(s.GivenBody, ind);
wr.WriteLine();
Indent(indent);
wr.Write("}");