summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension
diff options
context:
space:
mode:
authorGravatar Bryan Parno <parno@microsoft.com>2014-10-27 14:42:42 -0700
committerGravatar Bryan Parno <parno@microsoft.com>2014-10-27 14:42:42 -0700
commit9fdc6978e972ce79f21f2a5d470d15fc6fc7c089 (patch)
tree3003dcd3abd38378fac4c62f75bca33ff8ea142b /Source/DafnyExtension
parentc4333fa28b0ebd00e4b159dcafe87fc2a0264c59 (diff)
Ensure that no file is processed twice, even if one command-line file is included by another command-line file.
Diffstat (limited to 'Source/DafnyExtension')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index e96e0743..9bfdaae7 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -99,7 +99,7 @@ namespace DafnyLanguage
Dafny.BuiltIns builtIns = new Dafny.BuiltIns();
Dafny.Errors parseErrors = new VSErrors(this);
int errorCount = Dafny.Parser.Parse(_snapshot.GetText(), _filename, module, builtIns, parseErrors);
- string errString = Dafny.Main.ParseIncludes(module, builtIns, parseErrors);
+ string errString = Dafny.Main.ParseIncludes(module, builtIns, new List<string>(), parseErrors);
if (errorCount != 0 || errString != null)
return false;
Dafny.Program program = new Dafny.Program(_filename, module, builtIns);