Fix parse of preincrement / predecrement, applied to 'obj.prop'-like expressions.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
This commit is contained in:
Ruben Ayrapetyan authored and Evgeny Gavrin committed 2015-07-15 13:04:02 +03:00
1 parent 6fe78cc994
commit 0e8cb596d7
2 files changed
+25 -3

No files matched your search

+7
View File
@@ -36,3 +36,10 @@ assert(c == 21);
c = a--;
assert(c == 22);
var o = { p : 1 };
assert (++o.p === 2);
assert (o.p === 2);
assert (--o.p === 1);
assert (o.p === 1);