Skip to content

Commit 3770560

Browse files
author
Carlos Galindo
committed
Fix dot generation
1 parent 95abb15 commit 3770560

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/tfm/visitors/cfg/CFGBuilder.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ public CFGBuilder(CFGGraph graph) {
3131

3232
@Override
3333
public void visit(ExpressionStmt expressionStmt, Void arg) {
34-
String expression = expressionStmt.toString().replace("\"", "\\\"");
35-
36-
GraphNode<?> nextNode = addNodeAndArcs(expression, expressionStmt);
34+
GraphNode<?> nextNode = addNodeAndArcs(expressionStmt.toString(), expressionStmt);
3735

3836
lastParentNodes.add(nextNode);
3937
}

0 commit comments

Comments
 (0)