Bugfix for delombok mangling x++ into ++x on java7.

This commit is contained in:
Reinier Zwitserloot committed 2013-02-11 22:35:42 +01:00
1 parent aafd83079a
commit 1488a262bd
1 file changed
+1 -1
@@ -1245,7 +1245,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
int ownprec = TreeInfo.opPrec(getTag(tree));
String opname = operatorName(getTag(tree));
open(prec, ownprec);
if (getTag(tree) <= JCTree.PREDEC) {
if (getTag(tree) <= Javac.getCtcInt(JCTree.class, "PREDEC")) {
print(opname);
printExpr(tree.arg, ownprec);
} else {