Ignore:
Timestamp:
May 26, 2009, 8:22:47 PM (16 years ago)
Author:
[email protected]
Message:

<rdar://problem/6924033> REGRESSION: Assertion failure due to forward references

Reviewed by Gavin Barraclough.

Add a pattern type for forward references to ensure that we don't confuse the
quantifier alternatives assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/yarr/RegexPattern.h

    r44169 r44174  
    7979        TypeCharacterClass,
    8080        TypeBackReference,
     81        TypeForwardReference,
    8182        TypeParenthesesSubpattern,
    8283        TypeParentheticalAssertion,
     
    144145    }
    145146
     147    static PatternTerm ForwardReference()
     148    {
     149        return PatternTerm(TypeForwardReference);
     150    }
     151
    146152    static PatternTerm BOL()
    147153    {
Note: See TracChangeset for help on using the changeset viewer.