summaryrefslogtreecommitdiff
path: root/Source/Core/Xml.cs
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2010-12-01 05:43:17 +0000
committerGravatar qadeer <unknown>2010-12-01 05:43:17 +0000
commit5db34109bbb72d290239dfdb571d321fe3f1c48c (patch)
tree50c5ba304226e584a8cbf7c03a7480a3d0a65def /Source/Core/Xml.cs
parent95ff970b12779a1c0e814084100a0e88e6cc1c3d (diff)
Eliminated dependencies on SpecSharp and CCI from Boogie.sln and Dafny.sln
Diffstat (limited to 'Source/Core/Xml.cs')
-rw-r--r--Source/Core/Xml.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/Xml.cs b/Source/Core/Xml.cs
index 8fca82f8..e0b909fe 100644
--- a/Source/Core/Xml.cs
+++ b/Source/Core/Xml.cs
@@ -8,7 +8,6 @@ using System.IO;
using System.Xml;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
-using Cci = System.Compiler;
namespace Microsoft.Boogie {
public class XmlSink {
@@ -143,6 +142,7 @@ namespace Microsoft.Boogie {
cce.EndExpose();
}
+#if CCI
public void WriteError(string message, Cci.Node offendingNode, BlockSeq trace) {
Contract.Requires(offendingNode != null);
Contract.Requires(message != null);
@@ -177,6 +177,7 @@ namespace Microsoft.Boogie {
}
cce.EndExpose();
}
+#endif
[Inside]
private void WriteTokenAttributes(IToken tok) {
@@ -189,6 +190,7 @@ namespace Microsoft.Boogie {
}
}
+#if CCI
[Inside]
private void WriteTokenAttributes(Cci.Node node) {
Contract.Requires(node != null);
@@ -201,6 +203,7 @@ namespace Microsoft.Boogie {
wr.WriteAttributeString("column", node.SourceContext.StartColumn.ToString());
}
}
+#endif
public void WriteStartInference(string inferenceName) {
Contract.Requires(inferenceName != null);