# HG changeset patch # User Michael Van De Vanter # Date 1381119471 25200 # Node ID 873da100d1135a2a7daa33f44a125498a5c03cf7 # Parent 82ec5f898e6cdad38c6ac145772fda780b53d997 Truffle: another minor tweak to NodeUtil.printSourceAttributionTree diff -r 82ec5f898e6c -r 873da100d113 graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java --- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java Sun Oct 06 19:58:09 2013 -0700 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java Sun Oct 06 21:17:51 2013 -0700 @@ -657,7 +657,7 @@ final SourceSection sourceSection = node.getSourceSection(); if (sourceSection != null) { final String txt = sourceSection.getSource().getCode(); - p.println("Full source len=(" + txt.length() + ") txt=___" + txt + "___"); + p.println("Full source len=(" + txt.length() + ") ___" + txt + "___"); p.println("AST source attribution:"); } } @@ -793,7 +793,7 @@ final StringBuilder sb = new StringBuilder(); sb.append("source: len=" + srcText.length()); sb.append(" (" + section.getCharIndex() + "," + (section.getCharEndIndex() - 1) + ")"); - sb.append(" txt=___" + srcText + "___"); + sb.append(" ___" + srcText + "___"); return sb.toString(); } return "";