Changeset 174012 in webkit for trunk/Source/JavaScriptCore/yarr


Ignore:
Timestamp:
Sep 26, 2014, 10:49:57 AM (11 years ago)
Author:
[email protected]
Message:

Fix typo in YARR at BOL check
https://bugs.webkit.org/show_bug.cgi?id=137144

Reviewed by Darin Adler.

  • yarr/YarrPattern.cpp: replace bitwise and operator by logical and

(JSC::Yarr::YarrPatternConstructor::assertionBOL):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp

    r168983 r174012  
    298298    void assertionBOL()
    299299    {
    300         if (!m_alternative->m_terms.size() & !m_invertParentheticalAssertion) {
     300        if (!m_alternative->m_terms.size() && !m_invertParentheticalAssertion) {
    301301            m_alternative->m_startsWithBOL = true;
    302302            m_alternative->m_containsBOL = true;
Note: See TracChangeset for help on using the changeset viewer.