Skip to content
Snippets Groups Projects
Commit 3a766df1 authored by dohan's avatar dohan
Browse files

find unchanged variables in nested tuples

parent 904a513b
Branches
Tags
No related merge requests found
......@@ -376,6 +376,10 @@ public class BOperation extends BuiltInOPs implements ASTConstants,
// Tuple
for (int i = 0; i < k.getArgs().length; i++) {
OpApplNode var = (OpApplNode) k.getArgs()[i];
//findUnchangedVariablesInOpApplNode(var);
if(!(var.getOperator() instanceof OpDeclNode)) {
throw new RuntimeException(var.getOperator().getName() + " " + var.getLocation());
}
unchangedVariablesList.add((OpDeclNode) var
.getOperator());
String name = var.getOperator().getName().toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment