aboutsummaryrefslogtreecommitdiff
path: root/lib/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.js')
-rw-r--r--lib/parse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js
index 01fbb88f..5a75e753 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -1358,7 +1358,7 @@ function parse($TEXT, options) {
left : left,
operator : val,
right : maybe_assign(no_in),
- end : peek()
+ end : prev()
});
}
croak("Invalid assignment");