Skip to content

Commit

Permalink
changed toString according to pauls ideas tthuem#50
Browse files Browse the repository at this point in the history
  • Loading branch information
wurstbroteater committed Dec 17, 2020
1 parent b132ef9 commit 225174a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ private void toString(StringBuilder result, AST<Grammar, Value> parent, int[] le

}

result.append(" ");
result.append(parent.value);
result.append(" Depth: ");
result.append(level[0]);
result.append("\n");
result.append(" ").append(parent.type).append(" ").append(parent.value).append(" Depth: ").append(level[0]).append("\n");
level[0]++;
for (AST<Grammar, Value> child : parent.children) {
isLast = false;
Expand Down

0 comments on commit 225174a

Please sign in to comment.