Title: [174012] trunk/Source/_javascript_Core
Revision
174012
Author
[email protected]
Date
2014-09-26 10:49:57 -0700 (Fri, 26 Sep 2014)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (174011 => 174012)


--- trunk/Source/_javascript_Core/ChangeLog	2014-09-26 17:18:57 UTC (rev 174011)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-09-26 17:49:57 UTC (rev 174012)
@@ -1,3 +1,13 @@
+2014-09-26  Peter Varga  <[email protected]>
+
+        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):
+
 2014-09-25  Saam Barati  <[email protected]>
 
         Web Inspector: console.assert(bitString) TypeSet:50 

Modified: trunk/Source/_javascript_Core/yarr/YarrPattern.cpp (174011 => 174012)


--- trunk/Source/_javascript_Core/yarr/YarrPattern.cpp	2014-09-26 17:18:57 UTC (rev 174011)
+++ trunk/Source/_javascript_Core/yarr/YarrPattern.cpp	2014-09-26 17:49:57 UTC (rev 174012)
@@ -297,7 +297,7 @@
     
     void assertionBOL()
     {
-        if (!m_alternative->m_terms.size() & !m_invertParentheticalAssertion) {
+        if (!m_alternative->m_terms.size() && !m_invertParentheticalAssertion) {
             m_alternative->m_startsWithBOL = true;
             m_alternative->m_containsBOL = true;
             m_pattern.m_containsBOL = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to