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

also support Invariant and Invariants as default

in addition to Inv
parent 6fe9c8b7
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,10 @@ public class SpecAnalyser extends BuiltInOPs implements ASTConstants, ToolGlobal
specAnalyser.next = definitions.get("Next");
if (definitions.containsKey("Inv")) {
specAnalyser.invariants.add(definitions.get("Inv"));
} else if (definitions.containsKey("Invariant")) {
specAnalyser.invariants.add(definitions.get("Invariant"));
} else if (definitions.containsKey("Invariants")) {
specAnalyser.invariants.add(definitions.get("Invariants"));
}
// 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