diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-01-26 14:24:54 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-02-01 13:32:15 +0200 |
commit | a5b209470c2a61c3c735523fc82bd1ce45a51ec1 (patch) | |
tree | 1c7f851498bfb49b5580cb4adff7825acf17d029 | |
parent | e9a571b2a1a93e1c5e299ca4c8f846e2e1117994 (diff) | |
download | tracifyjs-a5b209470c2a61c3c735523fc82bd1ce45a51ec1.tar.gz tracifyjs-a5b209470c2a61c3c735523fc82bd1ce45a51ec1.zip |
Fix end token for Assign nodes
-rw-r--r-- | lib/parse.js | 2 |
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"); |