Changeset 174012 in webkit


Ignore:
Timestamp:
Sep 26, 2014 10:49:57 AM (10 years ago)
Author:
pvarga@webkit.org
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r173994 r174012  
     12014-09-26  Peter Varga  <pvarga@webkit.org>
     2
     3        Fix typo in YARR at BOL check
     4        https://bugs.webkit.org/show_bug.cgi?id=137144
     5
     6        Reviewed by Darin Adler.
     7
     8        * yarr/YarrPattern.cpp: replace bitwise and operator by logical and
     9        (JSC::Yarr::YarrPatternConstructor::assertionBOL):
     10
    1112014-09-25  Saam Barati  <saambarati1@gmail.com>
    212
  • 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.