Chromium Code Reviews| Index: src/char-predicates.h |
| =================================================================== |
| --- src/char-predicates.h (revision 10785) |
| +++ src/char-predicates.h (working copy) |
| @@ -56,6 +56,8 @@ |
| struct IdentifierPart { |
| static inline bool Is(uc32 c) { |
| return IdentifierStart::Is(c) |
| + || c == 0x200C |
| + || c == 0x200D |
|
mathias
2012/02/22 09:49:37
As an `IdentifierStart` character is the most comm
Lasse Reichstein Nielsen
2012/02/22 14:03:28
Good thought.
I'd prefer moving the number (digit,
|
| || unibrow::Number::Is(c) |
| || unibrow::CombiningMark::Is(c) |
| || unibrow::ConnectorPunctuation::Is(c); |