diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-27 18:59:10 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-27 18:59:10 -0700 |
commit | 8ede9fda35767f083899940886b69f53640891c9 (patch) | |
tree | 76c039c934157331e4de0a82c1903367e50b2d40 /Source/DafnyServer/Utilities.cs | |
parent | 1e725f0c9382a3dd8be109d160581868c9567f61 (diff) |
Look for z3 in Binaries/z3/bin (but keep the vendored version for convenience)
Dafny now first looks for a z3 binary in z3/bin, and if it can't find one it
looks for one in Binaries/z3.exe (mostly for backwards-compatibility with
already set-up source installations).
Diffstat (limited to 'Source/DafnyServer/Utilities.cs')
-rw-r--r-- | Source/DafnyServer/Utilities.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DafnyServer/Utilities.cs b/Source/DafnyServer/Utilities.cs index 59b3abb9..5e2c6f96 100644 --- a/Source/DafnyServer/Utilities.cs +++ b/Source/DafnyServer/Utilities.cs @@ -43,8 +43,8 @@ namespace Microsoft.Dafny { }
}
- internal static void ApplyArgs(string[] args) {
- Dafny.DafnyOptions.Install(new Dafny.DafnyOptions());
+ internal static void ApplyArgs(string[] args, ErrorReporter reporter) {
+ Dafny.DafnyOptions.Install(new Dafny.DafnyOptions(reporter));
Dafny.DafnyOptions.O.ProverKillTime = 15; //This is just a default; it can be overriden
if (CommandLineOptions.Clo.Parse(args)) {
|