summaryrefslogtreecommitdiff
path: root/Source/Dafny/Printer.cs
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-12-07 01:23:24 -0800
committerGravatar leino <unknown>2014-12-07 01:23:24 -0800
commitd0519ffb24c23198269a0bff1f8ed20e7c1b3f5a (patch)
tree9e41dee147e9713a08400a0811fb782f4bb0a304 /Source/Dafny/Printer.cs
parent3d8fd4cc56db82eb5c83f1e2061e88859f40778d (diff)
Finished up refactoring of the new name segment parsing, AST, and resolution.
Removed now defunct IdentifierSequence from the AST.
Diffstat (limited to 'Source/Dafny/Printer.cs')
-rw-r--r--Source/Dafny/Printer.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Dafny/Printer.cs b/Source/Dafny/Printer.cs
index 856c6085..58c03069 100644
--- a/Source/Dafny/Printer.cs
+++ b/Source/Dafny/Printer.cs
@@ -1855,19 +1855,6 @@ namespace Microsoft.Dafny {
PrintExpr(e.E, opBindingStrength, containsNestedNegation, parensNeeded || isRightmost, !parensNeeded && isFollowedBySemicolon, -1);
if (parensNeeded) { wr.Write(")"); }
- } else if (expr is IdentifierSequence) {
- var e = (IdentifierSequence)expr;
- string sep = "";
- string name = null;
- foreach (var id in e.Tokens) {
- name = id.val;
- wr.Write("{0}{1}", sep, name);
- sep = ".";
- }
- if (e.Arguments != null) {
- PrintActualArguments(e.Arguments, name);
- }
-
} else if (expr is MatchExpr) {
var e = (MatchExpr)expr;
var parensNeeded = !isRightmost && !e.UsesOptionalBraces;