Skip to content

Commit

Permalink
remove redundant Expr
Browse files Browse the repository at this point in the history
  • Loading branch information
ailrst committed Sep 22, 2023
1 parent cd4d74c commit c20c1ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/scala/translating/ILtoIL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ private class ILSerialiser extends ReadOnlyVisitor {


override def visitExpr(node: Expr): Expr = {
program ++= "Expr("
node.acceptVisit(this)
program ++= ")"
node
}

override def visitStatement(node: Statement): Statement = node.acceptVisit(this)
Expand Down

0 comments on commit c20c1ba

Please sign in to comment.