Skip to content
Snippets Groups Projects
Commit c0b1394d authored by Michael Leuschel's avatar Michael Leuschel
Browse files

also accept TypeOK as invariant name

parent cf041cf1
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,8 @@ public class SpecAnalyser extends BuiltInOPs implements ASTConstants, ToolGlobal ...@@ -126,6 +126,8 @@ public class SpecAnalyser extends BuiltInOPs implements ASTConstants, ToolGlobal
specAnalyser.invariants.add(definitions.get("Invariants")); specAnalyser.invariants.add(definitions.get("Invariants"));
} else if (definitions.containsKey("TypeInv")) { } else if (definitions.containsKey("TypeInv")) {
specAnalyser.invariants.add(definitions.get("TypeInv")); specAnalyser.invariants.add(definitions.get("TypeInv"));
} else if (definitions.containsKey("TypeOK")) {
specAnalyser.invariants.add(definitions.get("TypeOK"));
} }
// TODO are constant in the right order // TODO are constant in the right order
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment