b.add(parserLine, SWAP, null);
b.add(parserLine, POP, null);
b.add(parserLine, LITERAL, JS.N(1));
- b.add(parserLine, tok == INC ? SUB : ADD, null); // undo what we just did, since this is postfix
+ b.add(parserLine, tok == INC ? SUB : ADD, JS.N(2)); // undo what we just did, since this is postfix
break;
}
case ASSIGN: {