Index: src/regexp/regexp-parser.cc |
diff --git a/src/regexp/regexp-parser.cc b/src/regexp/regexp-parser.cc |
index abb644ac3f8057c91c5648177b6b8bdc4d4e3f14..bdfa13f719e09416f4af414d696100d2e6101690 100644 |
--- a/src/regexp/regexp-parser.cc |
+++ b/src/regexp/regexp-parser.cc |
@@ -912,7 +912,6 @@ bool LookupPropertyValueName(UProperty property, |
bool RegExpParser::ParsePropertyClass(ZoneList<CharacterRange>* result) { |
// Parse the property class as follows: |
- // - \pN with a single-character N is equivalent to \p{N} |
// - In \p{name}, 'name' is interpreted |
// - either as a general category property value name. |
// - or as a binary property name. |
@@ -935,9 +934,6 @@ bool RegExpParser::ParsePropertyClass(ZoneList<CharacterRange>* result) { |
} |
second_part.Add(0); // null-terminate string. |
} |
- } else if (current() != kEndMarker) { |
- // Parse \pN, where N is a single-character property name value. |
- first_part.Add(static_cast<char>(current())); |
} else { |
return false; |
} |