Comment #5 on issue 3617 by [email protected]: Supplementary characters are allowed as identifier names in ES6
https://code.google.com/p/v8/issues/detail?id=3617#c5

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc

commit 0dd69ec4392844c08ff62ab9294d9e9d8425cebc
Author: [email protected] <[email protected]>
Date: Fri Oct 10 07:13:46 2014

Allow identifier code points from supplementary multilingual planes.

ES5.1 section 6 ("Source Text"):
"Throughout the rest of this document, the phrase "code unit" and the
word "character" will be used to refer to a 16-bit unsigned value
used to represent a single 16-bit unit of text."

This changed in ES6 draft section 10.1 ("Source Text"):
"The ECMAScript code is expressed using Unicode, version 5.1 or later.
ECMAScript source text is a sequence of code points. All Unicode code
point values from U+0000 to U+10FFFF, including surrogate code points,
may occur in source text where permitted by the ECMAScript grammars."

This patch is to reflect this spec change.

BUG=v8:3617
LOG=Y
[email protected]

Review URL: https://codereview.chromium.org/640193002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24510 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

[modify] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/BUILD.gn [add] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/src/char-predicates.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/src/char-predicates.h [modify] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/src/scanner.h [add] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/test/intl/general/smp-identifier.js [add] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/test/mjsunit/parse-surrogates.js [modify] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/test/unittests/unicode/unicode-predicates-unittest.cc [modify] https://chromium.googlesource.com/v8/v8.git/+/0dd69ec4392844c08ff62ab9294d9e9d8425cebc/tools/gyp/v8.gyp


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to