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

try and fix issue with ENABLED for LTL formulas


was missing quantifiers for operations with parameters

Signed-off-by: default avatarMichael Leuschel <leuschel@uni-duesseldorf.de>
parent 0b17bfb9
No related branches found
No related tags found
No related merge requests found
...@@ -127,8 +127,13 @@ public class LTLFormulaPrinter extends DepthFirstAdapter { ...@@ -127,8 +127,13 @@ public class LTLFormulaPrinter extends DepthFirstAdapter {
@Override @Override
public void caseAEnabledLtl(AEnabledLtl node) { public void caseAEnabledLtl(AEnabledLtl node) {
LinkedHashMap<String, Node> operations = ltlFormulaVisitor
.getMachineContext().getOperations();
tlaPrinter.moduleStringAppend("ENABLED("); tlaPrinter.moduleStringAppend("ENABLED(");
tlaPrinter.moduleStringAppend(node.getOperation().getText()); //tlaPrinter.moduleStringAppend(node.getOperation().getText());
String action1Name = node.getOperation().getText();
Node op1 = operations.get(action1Name);
tlaPrinter.printOperationCall(op1);
tlaPrinter.moduleStringAppend(")"); tlaPrinter.moduleStringAppend(")");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment