Verified Commit 7fa1cc14 authored by Amin Bandali's avatar Amin Bandali
Browse files

Suppress Macro-related exception

parent ac30f1ba
......@@ -10,6 +10,7 @@ import edu.mit.csail.sdg.ast.ExprBadJoin;
import edu.mit.csail.sdg.ast.ExprBinary;
import edu.mit.csail.sdg.ast.ExprCall;
import edu.mit.csail.sdg.ast.ExprConstant;
import edu.mit.csail.sdg.ast.ExprCustom;
import edu.mit.csail.sdg.ast.ExprITE;
import edu.mit.csail.sdg.ast.ExprLet;
import edu.mit.csail.sdg.ast.ExprList;
......@@ -162,6 +163,17 @@ public class SSRVisitor extends VisitReturn {
return null;
}
/** Visits a ExprCustom node */
@Override
public Object visit(ExprCustom x) {
/**
* Similar to ExprBadJoin case above, but for Macro. Happens
* in models/builtin/puzzle/coloring/color-australia.als, with
* a 'Incomplete call on the macro "adjacent"' message.
*/
return null;
}
/** Visits an ExprUnary node. */
@Override
public Object visit(ExprUnary x) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment