diff options
author | MichalMoskal <unknown> | 2011-02-23 22:22:03 +0000 |
---|---|---|
committer | MichalMoskal <unknown> | 2011-02-23 22:22:03 +0000 |
commit | 408127c0fb6f2d38ce41d5e838777b7df36df438 (patch) | |
tree | fd106da3619f9700c20a402c5e047fbfd01ac3d7 /Source/Provers/SMTLib/TypeDeclCollector.cs | |
parent | 547dbaec94fac399b24cfd4ac56557379ab556a0 (diff) |
Add MULTI_TRACES prover option (equivalent of /z3multipleErrors)
Diffstat (limited to 'Source/Provers/SMTLib/TypeDeclCollector.cs')
-rw-r--r-- | Source/Provers/SMTLib/TypeDeclCollector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Provers/SMTLib/TypeDeclCollector.cs b/Source/Provers/SMTLib/TypeDeclCollector.cs index 60527ae8..96f16366 100644 --- a/Source/Provers/SMTLib/TypeDeclCollector.cs +++ b/Source/Provers/SMTLib/TypeDeclCollector.cs @@ -55,7 +55,7 @@ void ObjectInvariant() private readonly Dictionary<Type/*!*/, bool>/*!*/ KnownTypes = new Dictionary<Type, bool>();
private readonly Dictionary<string/*!*/, bool>/*!*/ KnownStoreFunctions = new Dictionary<string, bool>();
private readonly Dictionary<string/*!*/, bool>/*!*/ KnownSelectFunctions = new Dictionary<string, bool>();
- private readonly HashSet<string> KnownLBLNEG = new HashSet<string>();
+ private readonly HashSet<string> KnownLBL = new HashSet<string>();
public List<string/*!>!*/> AllDeclarations { get {
@@ -124,9 +124,9 @@ void ObjectInvariant() KnownFunctions.Add(f, true);
} else {
var lab = node.Op as VCExprLabelOp;
- if (lab != null && !lab.pos && !KnownLBLNEG.Contains(lab.label)) {
- KnownLBLNEG.Add(lab.label);
- var name = SMTLibNamer.QuoteId(SMTLibNamer.BlockedLabel(lab.label));
+ if (lab != null && !KnownLBL.Contains(lab.label)) {
+ KnownLBL.Add(lab.label);
+ var name = SMTLibNamer.QuoteId(SMTLibNamer.LabelVar(lab.label));
AddDeclaration("(declare-fun " + name + " () Bool)");
}
}
|