From a5b209470c2a61c3c735523fc82bd1ce45a51ec1 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Sat, 26 Jan 2013 14:24:54 +0200 Subject: Fix end token for Assign nodes --- lib/parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/parse.js') 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"); -- cgit v1.2.3