equal
deleted
inserted
replaced
780 } |
780 } |
781 |
781 |
782 public void visitConditional(JCConditional tree) { |
782 public void visitConditional(JCConditional tree) { |
783 try { |
783 try { |
784 open(prec, TreeInfo.condPrec); |
784 open(prec, TreeInfo.condPrec); |
785 printExpr(tree.cond, TreeInfo.condPrec); |
785 printExpr(tree.cond, TreeInfo.condPrec + 1); |
786 print(" ? "); |
786 print(" ? "); |
787 printExpr(tree.truepart, TreeInfo.condPrec); |
787 printExpr(tree.truepart); |
788 print(" : "); |
788 print(" : "); |
789 printExpr(tree.falsepart, TreeInfo.condPrec); |
789 printExpr(tree.falsepart, TreeInfo.condPrec); |
790 close(prec, TreeInfo.condPrec); |
790 close(prec, TreeInfo.condPrec); |
791 } catch (IOException e) { |
791 } catch (IOException e) { |
792 throw new UncheckedIOException(e); |
792 throw new UncheckedIOException(e); |