diff options
author | 2013-07-12 16:52:37 -0700 | |
---|---|---|
committer | 2013-07-12 16:52:37 -0700 | |
commit | 58570d4912e129e3e8807f005b871fd5495006d5 (patch) | |
tree | 3c9fb85b26d5858c71f710297378db047e12149f | |
parent | fb7ba0533f976442e53a4180a988ac7e2bb5c777 (diff) |
Changed the class 'ErrorInformation' to store the model separately.
-rw-r--r-- | Source/ExecutionEngine/ExecutionEngine.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/ExecutionEngine/ExecutionEngine.cs b/Source/ExecutionEngine/ExecutionEngine.cs index 0064ee49..96c294ea 100644 --- a/Source/ExecutionEngine/ExecutionEngine.cs +++ b/Source/ExecutionEngine/ExecutionEngine.cs @@ -141,6 +141,7 @@ namespace Microsoft.Boogie }
tw.Write(errorInfo.Out.ToString());
+ tw.Write(errorInfo.Model.ToString());
tw.Flush();
}
@@ -235,6 +236,7 @@ namespace Microsoft.Boogie public ErrorKind Kind { get; set; }
public string ImplementationName { get; set; }
public TextWriter Out = new StringWriter();
+ public TextWriter Model = new StringWriter();
public string FullMsg
{
@@ -1349,7 +1351,7 @@ namespace Microsoft.Boogie }
if (CommandLineOptions.Clo.ModelViewFile != null)
{
- error.PrintModel(errorInfo.Out);
+ error.PrintModel(errorInfo.Model);
}
printer.WriteErrorInformation(errorInfo, tw);
|