remove dead _dotQuestion code

This commit is contained in:
Sebastian McKenzie 2015-02-22 12:33:09 +11:00
parent f8eba046b3
commit 5a0861c1b9

View File

@ -843,10 +843,7 @@
var next = input.charCodeAt(tokPos + 1);
if (next >= 48 && next <= 57) return readNumber(true);
var next2 = input.charCodeAt(tokPos + 2);
if (options.playground && next === 63) { // 63
tokPos += 2;
return finishToken(_dotQuestion);
} else if (options.ecmaVersion >= 6 && next === 46 && next2 === 46) { // 46 = dot '.'
if (options.ecmaVersion >= 6 && next === 46 && next2 === 46) { // 46 = dot '.'
tokPos += 3;
return finishToken(_ellipsis);
} else {