summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-06-24 10:06:35 -0700
committerGravatar wuestholz <unknown>2013-06-24 10:06:35 -0700
commitcef91fe55e0d605ab85a5fccc5f19cbf1e935aca (patch)
tree4131215424fcb0da988f6f879cf6a3a111a96c17 /Source/DafnyExtension
parentb443322c8ce89ac68f0aa7cca49cd406cade7641 (diff)
Did some refactoring of the error reporting functionality.
Diffstat (limited to 'Source/DafnyExtension')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index 7ad2045b..4819123c 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -1,6 +1,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
+using System.IO;
using Microsoft.Boogie;
using Microsoft.VisualStudio.Text;
using Bpl = Microsoft.Boogie;
@@ -50,19 +51,19 @@ namespace DafnyLanguage
{
}
- public void ErrorWriteLine(string format, params object[] args)
+ public void ErrorWriteLine(TextWriter tw, string format, params object[] args)
{
}
- public void ErrorWriteLine(string s)
+ public void ErrorWriteLine(TextWriter tw, string s)
{
}
- public void Inform(string s)
+ public void Inform(string s, TextWriter tw)
{
}
- public void ReportBplError(IToken tok, string message, bool error, string category = null)
+ public void ReportBplError(IToken tok, string message, bool error, TextWriter tw, string category = null)
{
}
@@ -70,7 +71,7 @@ namespace DafnyLanguage
{
}
- public void WriteErrorInformation(ErrorInformation errorInfo)
+ public void WriteErrorInformation(ErrorInformation errorInfo, TextWriter tw, bool skipExecutionTrace = true)
{
}
}