Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 9433031: Allow the ZWJ and ZWNJ characters in IdentifierPart as per ES5. (Closed)

Created:
8 years, 10 months ago by mathias
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Allow the ZWJ and ZWNJ characters in IdentifierPart as per ES5. Patch from Mathias Bynens <mathias@qiwi.be>; BUG=1958 TEST=Try `var a\u200c\u200d;` and confirm it doesn't throw an error. Committed: https://code.google.com/p/v8/source/detail?r=10800

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M src/char-predicates.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mathias
As an `IdentifierStart` character is the most common case for an `IdentifierPart`, I figured it ...
8 years, 10 months ago (2012-02-22 09:49:37 UTC) #1
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/9433031/diff/1/src/char-predicates.h File src/char-predicates.h (right): https://chromiumcodereview.appspot.com/9433031/diff/1/src/char-predicates.h#newcode60 src/char-predicates.h:60: || c == 0x200D Good thought. I'd prefer moving ...
8 years, 10 months ago (2012-02-22 14:03:28 UTC) #2
mathias
> I'd prefer moving the number (digit, really) test before the ZWNJ/ZWJ test, > since ...
8 years, 10 months ago (2012-02-22 14:13:34 UTC) #3
mathias
Adding ricow@chromium.org (issue owner) as reviewer.
8 years, 10 months ago (2012-02-22 22:24:53 UTC) #4
Lasse Reichstein Nielsen
8 years, 10 months ago (2012-02-23 08:16:40 UTC) #5
Committed. Thank you for the patch.

Powered by Google App Engine
This is Rietveld 408576698