Compare commits
2 Commits
d8397753ca
...
afd2319d78
Author | SHA1 | Date | |
---|---|---|---|
afd2319d78 | |||
821908f060 |
@ -255,9 +255,8 @@ public class ASTGenerator extends DecafBaseVisitor<Node> {
|
||||
Node right = visitDotExpr(ctx.dotExpr());
|
||||
return new BinaryExpression(ctx.LineOperator().getText(), (IExpression) left, (IExpression) right);
|
||||
} else {
|
||||
visitDotExpr(ctx.dotExpr());
|
||||
return visitDotExpr(ctx.dotExpr());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -267,9 +266,8 @@ public class ASTGenerator extends DecafBaseVisitor<Node> {
|
||||
Node right = visitDotSubExpr(ctx.dotSubExpr());
|
||||
return new BinaryExpression(ctx.DotOperator().getText(), (IExpression) left, (IExpression) right);
|
||||
} else {
|
||||
visitDotSubExpr(ctx.dotSubExpr());
|
||||
return visitDotSubExpr(ctx.dotSubExpr());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//todo
|
||||
|
Loading…
Reference in New Issue
Block a user