Compare commits
No commits in common. "afd2319d7859889fe9681d3f10ae8ab69224ae43" and "d8397753caa2e922776955fdc964f8463d572732" have entirely different histories.
afd2319d78
...
d8397753ca
@ -255,8 +255,9 @@ public class ASTGenerator extends DecafBaseVisitor<Node> {
|
||||
Node right = visitDotExpr(ctx.dotExpr());
|
||||
return new BinaryExpression(ctx.LineOperator().getText(), (IExpression) left, (IExpression) right);
|
||||
} else {
|
||||
return visitDotExpr(ctx.dotExpr());
|
||||
visitDotExpr(ctx.dotExpr());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -266,8 +267,9 @@ public class ASTGenerator extends DecafBaseVisitor<Node> {
|
||||
Node right = visitDotSubExpr(ctx.dotSubExpr());
|
||||
return new BinaryExpression(ctx.DotOperator().getText(), (IExpression) left, (IExpression) right);
|
||||
} else {
|
||||
return visitDotSubExpr(ctx.dotSubExpr());
|
||||
visitDotSubExpr(ctx.dotSubExpr());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//todo
|
||||
|
Loading…
Reference in New Issue
Block a user