diff options
Diffstat (limited to 'JavaScriptCore/yarr/RegexPattern.h')
-rw-r--r-- | JavaScriptCore/yarr/RegexPattern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/JavaScriptCore/yarr/RegexPattern.h b/JavaScriptCore/yarr/RegexPattern.h index 8a7d35b..c76c641 100644 --- a/JavaScriptCore/yarr/RegexPattern.h +++ b/JavaScriptCore/yarr/RegexPattern.h @@ -107,7 +107,7 @@ struct PatternTerm { union { UChar patternCharacter; CharacterClass* characterClass; - unsigned backReferenceSubpatternId; + unsigned subpatternId; struct { PatternDisjunction* disjunction; unsigned subpatternId; @@ -162,7 +162,7 @@ struct PatternTerm { : type(TypeBackReference) , invertOrCapture(false) { - backReferenceSubpatternId = spatternId; + subpatternId = spatternId; quantityType = QuantifierFixedCount; quantityCount = 1; } |