Ignore:
Timestamp:
Dec 18, 2007, 4:34:00 PM (17 years ago)
Author:
Darin Adler
Message:
  • fix Windows build
  • pcre/pcre_exec.cpp: (jsRegExpExecute): Change back from false/true to 0/1 -- I probably should not have deleted MATCH_MATCH and MATCH_NOMATCH, but I'm going to leave them out.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_exec.cpp

    r28833 r28841  
    20032003        /* When the result is no match, advance the pointer to the next character
    20042004         and continue. */
    2005         if (returnCode == false) {
     2005        if (returnCode == 0) {
    20062006            startMatch++;
    20072007            continue;
    20082008        }
    20092009
    2010         if (returnCode != true) {
     2010        if (returnCode != 1) {
    20112011            ASSERT(returnCode == JSRegExpErrorHitLimit || returnCode == JSRegExpErrorNoMemory);
    20122012            DPRINTF((">>>> error: returning %d\n", rc));
Note: See TracChangeset for help on using the changeset viewer.