Update parser whitespace for clarity (#8539)

* Update parser whitespace for clarity

Has the nice benefit of not requiring a charCode to String conversion.

* Remove test262 exceptions

Per https://github.com/tc39/ecma262/pull/1218#issuecomment-395340891,
ECMA262 follows whatever the latest Unicode version specifies for Zs
Space_Separator category. MONGOLIAN VOWEL SEPARATOR was moved to the Cf
Other_Format category in Unicode 8.
This commit is contained in:
Justin Ridgewell
2018-08-25 19:12:38 -04:00
committed by GitHub
parent 595240f071
commit 5899940156
3 changed files with 45 additions and 16 deletions

View File

@@ -683,8 +683,6 @@ language/statements/while/labelled-fn-stmt.js(default)
language/statements/with/decl-async-fun.js(default)
language/statements/with/decl-async-gen.js(default)
language/statements/with/labelled-fn-stmt.js(default)
language/white-space/mongolian-vowel-separator.js(default)
language/white-space/mongolian-vowel-separator.js(strict mode)
language/identifiers/unicode-escape-nls-err.js(default)
language/identifiers/unicode-escape-nls-err.js(strict mode)