| Index: Source/devtools/front_end/script_formatter_worker/AcornTokenizer.js
|
| diff --git a/Source/devtools/front_end/script_formatter_worker/AcornTokenizer.js b/Source/devtools/front_end/script_formatter_worker/AcornTokenizer.js
|
| index c37a33edb3e8cb27123223f7542f9d742a5ea609..13ccb0be157d17a66781e339ed2f357a14a70e05 100644
|
| --- a/Source/devtools/front_end/script_formatter_worker/AcornTokenizer.js
|
| +++ b/Source/devtools/front_end/script_formatter_worker/AcornTokenizer.js
|
| @@ -10,7 +10,7 @@ FormatterWorker.AcornTokenizer = function(content)
|
| {
|
| this._content = content;
|
| this._comments = [];
|
| - this._tokenizer = acorn.tokenizer(this._content, { onComment: this._comments });
|
| + this._tokenizer = acorn.tokenizer(this._content, { ecmaVersion: 6, onComment: this._comments });
|
| this._lineEndings = this._content.lineEndings();
|
| this._lineNumber = 0;
|
| this._tokenLineStart = 0;
|
|
|