projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f4b4ae7
)
fixed bug 516 (decrement nullpointerexception)
author
tupshin
<tupshin@tupshin.com>
Sun, 4 Apr 2004 09:05:30 +0000
(09:05 +0000)
committer
tupshin
<tupshin@tupshin.com>
Sun, 4 Apr 2004 09:05:30 +0000
(09:05 +0000)
darcs-hash:
20040404090530
-a9258-
44b6e2e6b3d5584ba4cebde5a58bbfea52e07949
.gz
src/org/ibex/js/Parser.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/js/Parser.java
b/src/org/ibex/js/Parser.java
index
a4621db
..
aad793e
100644
(file)
--- a/
src/org/ibex/js/Parser.java
+++ b/
src/org/ibex/js/Parser.java
@@
-408,7
+408,7
@@
class Parser extends Lexer implements ByteCodes {
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: {