From 43391b50592e2c484872845ff05d670c571f659d Mon Sep 17 00:00:00 2001 From: Jason Koenig Date: Wed, 6 Jun 2012 15:54:48 -0700 Subject: Dafny: change labels to use a generic singly linked list --- Dafny/Resolver.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Dafny/Resolver.cs') diff --git a/Dafny/Resolver.cs b/Dafny/Resolver.cs index 7be3fca2..23cf892e 100644 --- a/Dafny/Resolver.cs +++ b/Dafny/Resolver.cs @@ -1355,7 +1355,7 @@ namespace Microsoft.Dafny { Statement target = loopStack[loopStack.Count - s.BreakCount]; if (target.Labels == null) { // make sure there is a label, because the compiler and translator will want to see a unique ID - target.Labels = new LabelNode(target.Tok, null, null); + target.Labels = new LList