Libraries: Fix typos

This commit is contained in:
Nico Weber 2021-09-30 20:03:41 -04:00 committed by Linus Groh
commit de72332920
Notes: sideshowbarker 2024-07-18 03:16:24 +09:00
9 changed files with 10 additions and 10 deletions

View file

@ -1195,7 +1195,7 @@ bool ECMA262Parser::parse_quantifier(ByteCode& stack, size_t& match_length_minim
repetition_mark = Repetition::Explicit;
if (!parse_interval_quantifier(repeat_min, repeat_max)) {
if (unicode) {
// Invalid interval quantifiers are disallowed in Unicode mod - they must be esacped with '\{'.
// Invalid interval quantifiers are disallowed in Unicode mod - they must be escaped with '\{'.
set_error(Error::InvalidPattern);
}
return !has_error();